104 ms·
Edit: After recursively chowning the .gem folder in my home directory to my user it worked. I spent a good amount of time trying to get this to work a few days
by fossuser 16y ago
Edit: After recursively chowning the .gem folder in my home directory to my user it worked.
I spent a good amount of time trying to get this to work a few days ago, but had issues with rvm. Thought this post might help, but in a fresh 10.10 install if rvm is used when trying gem install rails I get the following
: While executing gem ... (Errno::EACCES)
Permission denied
It shouldn't be denied though since it's in the home directory. The only way I could get an up to date ruby and rails installed was by removing rvm (rvm implode) and manually installing 1.9.2 and then following the update-alternatives instructions located here: http://ubuntuforums.org/showthread.php?p=10274200#post10274200 http://ubuntuforums.org/showthread.php?p=10274200#post102742...
Is anybody else successfully accomplishing it the way this blog suggests? The internet is relatively sparse with up to date instructions for installing rails without problems on Ubuntu, it makes me miss the rolling release model of arch where everything just worked instantly.
- Sapient 16y agoDid you install rvm locally, or system wide? I have never had a real problem installing rails with rvm on 10.10, I just had to apt-get the required libs for ruby, and then everything else worked fine (with a normal rvm install). I would try rvmsudo gem install rails, who knows... Also remember, when you run the rvm install script or any of the following rvm commands, dont sudo it for a normal installation.
- fossuser 16y agoI installed it locally, but for some reason the .gem folder was root user and not my local user so it would not allow me to run gem install rails unless I used sudo. To fix this I had to chown the .gem folder to my user and then everything worked as it should. I just found it strange that I was the only one that seemed to have this issue since it looks like it should happen to everyone who follows the steps.
- deleted 16y ago[deleted]