You are not logged in.
I'm not sure about the best way to manage ruby gems using rvm.
I followed the wiki guidelines for installing rvm system wide. When I install a gem using 'gem install rails' I get a file permission error for the /usr/local/rvm/gems/ruby-1.8.7-p334 directory. The rvm guidelines states DO NOT use sudo. Is it advisable to ignore this since I am using a system wide install?
Am I better off using a per user install?
I'm interested to know other arch users' experience and approach to using rvm.
Thanks,
Ed
Offline
A per-user install makes sense unless you have multiple accounts using the same machine and prevents the need to use sudo.
I use RVM daily with this setup and haven't had any problems.
If you'd prefer to go stick with the system-wide installation then ensure you're now a member of the rvm group.
The system-wide script should have added this group for you and set up permissions on the rvm directory.
These links give a more detailed explanation of what the install script actually does and how to do the same thing manually:
http://rvm.beginrescueend.com/deployment/system-wide/
http://blog.ninjahideout.com/posts/rvm- … ntegration
http://injekt.net/blog/9-rvm-plays-nice-on-production
Offline