Hacker News new | ask | show | jobs
by sergiotapia 4731 days ago
No more RVM! Fantastic news!
3 comments

Please don't let that tempt you to use system Ruby. You should always build your own, especially on a system like OS X.

System Ruby is not there for you, it's there for the system to make use of (and yes, OS X does ship with quite a few Ruby scripts and a couple of Rails applications). Apple makes no guarantees of keeping this Ruby up to date.

What are the Rails applications OSX ships with? I have never heard of or noticed this before.
I don't know what "vanilla" OSX ships with, but I've seen references to Rails pop up in logs in Console.app for my OSX Server when I was screwing with replacing their Postgres db with my own.
Correct.

Don't use rvm or rbenv on your production Linux boxes. Use packaged Ruby there.

Er, why not? rvm was originally made for production use!

I've used rvm in production for major sites for years with no problems whatsoever, in fact I believe it is best practise. Do you have any reasons for your preference for packaged ruby?

Best practice says production boxes shouldn't have compilers installed.
Install compilers on one machine, build Ruby, package it up as a deb/rpm/whatever, distribute to other machines.
Yep, that's the idea.
I'll give this a read, thanks for sharing.
I like RVM - and I donated $5 to the maintainer. I guess it's better to not always need it, but it's saved me a lot of time.
I agree, RVM is a fantastic tool and a god send. Tremendous job by the creator. I just always felt that it was 'odd' to have to install N version of Ruby just to work on a particular project.
RVM is a very impressive collection of monstrous hacks jammed into a kitchen-sink tool to achieve a set of ends that can be better met in other ways. It's worth learning enough about how the Ruby environment fits together to figure out how. It's great to get learners off the ground (assuming it works first time), but if you're doing ruby seriously then I reckon part of your education should be how to get off it as soon as possible.