installing rvm in home directory or system-wide?

28 views
Skip to first unread message

John Merlino

unread,
Jul 16, 2013, 8:32:35 PM7/16/13
to rubyonra...@googlegroups.com
Is there any advantages of installing rvm system-wide as opposed to just in the home directory of a user?

Emil S

unread,
Jul 17, 2013, 5:42:57 AM7/17/13
to rubyonra...@googlegroups.com
I hope you have gone through this : https://rvm.io/rvm/install . System wide RVM will let you use the same installation for all users on the system. But I've seen many junior devs screw up their dev environment by trying a system wide RVM installation but didn't follow the instructions correctly. Single user installations look safer and less error prone to me. I like to have Single User RVM installations on my systems because I am more comfortable when I'm not sudo-ing too often :) 


On 17 July 2013 02:02, John Merlino <stoi...@aol.com> wrote:
Is there any advantages of installing rvm system-wide as opposed to just in the home directory of a user?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0a7e0bb6-2e4c-44be-90e6-12099105d787%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Kyle Fazzari

unread,
Jul 17, 2013, 3:08:59 PM7/17/13
to rubyonra...@googlegroups.com
You shouldn't be using sudo even with system-wide installs-- add yourself to the rvm group!
 
I install single-user on my dev machine(s), but on my servers I always install system-wide and use a bundle deployment for my apps.
 
Kyle

Robert Walker

unread,
Jul 17, 2013, 8:58:39 PM7/17/13
to rubyonra...@googlegroups.com
Emil S. wrote in post #1115716:
> I hope you have gone through this : https://rvm.io/rvm/install . System
> wide RVM will let you use the same installation for all users on the
> system. But I've seen many junior devs screw up their dev environment by
> trying a system wide RVM installation but didn't follow the instructions
> correctly. Single user installations look safer and less error prone to
> me. I like to have Single User RVM installations on my systems because I
> am
> more comfortable when I'm not sudo-ing too often :)

I agree. Dev environments can be a very personal thing. For example I
prefer rbenv over RVM.

That being said, if you're the only user of the dev machine then I see
no advantage of a system-wide install at all. Plus, I wouldn't want to
have to deal with another developer coming along and screwing up my dev
environment.

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages