MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/194l12/ruby_200/c8kxcef/?context=3
r/programming • u/HornedKavu • Feb 24 '13
193 comments sorted by
View all comments
Show parent comments
0
Is there ever a reason to use the system ruby at all?
rvm use 1.9.3 --default
5 u/[deleted] Feb 24 '13 If you are writing scripts to run on other peoples systems (e.g. as part of an installer) you can't assume that they will have a newer version installed. 2 u/CaptainKabob Feb 24 '13 ...which is a reason not to mess with Mac's system Ruby.Especially if you're targeting other people's Macs and your script has the potential to blow up if they messed with the system ruby.Tl;dr: don't mess with OSX's Ruby. Use RVM, or (in the situation you describe) settle with 1.8.7 (what OSX ships with). 2 u/[deleted] Feb 24 '13 You can't install RVM on other peoples systems. → More replies (0)
5
If you are writing scripts to run on other peoples systems (e.g. as part of an installer) you can't assume that they will have a newer version installed.
2 u/CaptainKabob Feb 24 '13 ...which is a reason not to mess with Mac's system Ruby.Especially if you're targeting other people's Macs and your script has the potential to blow up if they messed with the system ruby.Tl;dr: don't mess with OSX's Ruby. Use RVM, or (in the situation you describe) settle with 1.8.7 (what OSX ships with). 2 u/[deleted] Feb 24 '13 You can't install RVM on other peoples systems. → More replies (0)
2
...which is a reason not to mess with Mac's system Ruby.
Especially if you're targeting other people's Macs and your script has the potential to blow up if they messed with the system ruby.
Tl;dr: don't mess with OSX's Ruby. Use RVM, or (in the situation you describe) settle with 1.8.7 (what OSX ships with).
2 u/[deleted] Feb 24 '13 You can't install RVM on other peoples systems. → More replies (0)
You can't install RVM on other peoples systems.
→ More replies (0)
0
u/CaptainKabob Feb 24 '13
Is there ever a reason to use the system ruby at all?