I have setup Radrails on my linux machine. I dont have root privileges on this machine and I also cant edit the ruby installation folder. I have set GEM_HOME and GEM_PATH to a location where I have privileges. I am running radrails from the terminal where I have set these variables. Does Radrails is recognize the gem location?
Also I am not able to start the Webrick server using Radrails. The server always is in stopped state and the console output is blank. I am not able to fix this since I dont see any errors.
thank you!
Use rvm or rbenv to change ruby and gem space to another one. If you will begin usage of the them do the following:
Install
rvmwith ruby:or install
rbenv, and then install ruby, and make it global:Install the rails without documentation into the general gem space:
Enter to the project, create two files
.ruby-versionwith just installed version ofruby(in example2.1.4), and.ruby-gemsetwith name of your project:Fix
Gemfilewith newly intsalled version ofrubyadding a line:Reenter to the project folder, and
rvmwill generate its wrappers:Issue gem installation: