I'm trying to install the gem ruby-debug19 to debug an ruby on rails app but i can't install it successfully. It gives me an error when tries to compile the native extension and in traceback says "/usr/local/lib/ruby19/ruby/1.9.1/fileutils.rb:247:in `mkdir': Permission denied - /usr/include/ruby-1.9.1/ruby-1.9.3-p448 (Errno::EACCES)" This is related to that i don't have root priviledges but i already configured my enviroment vars as is said in the documentation of webfaction. How i could install it? asked 09 Sep '13, 10:29 FrancoAA |
Digging around the net for answers to this issue show it is very common. There are many suggested fixes. The one in this StackOverflow article seems to be good, as it shows how to compile the gems from source not using the gems manager. My suggestion would have been the same thing, and this explains the process. answered 09 Sep '13, 18:33 johns |
We would need to see the complete track-back to know exactly which part is failing. Different source code distributions use different enviroment variables, and sometimes the original developer hard-coded paths. You may paste the track-back here or submit a support ticket so we can investigate further. answered 09 Sep '13, 17:38 johns |
This is the complete traceback:
answered 09 Sep '13, 18:19 FrancoAA |