r/programming • • Feb 24 '13

Ruby 2.0.0

http://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
600 Upvotes

193 comments sorted by

View all comments

Show parent comments

8

u/[deleted] Feb 24 '13

To be fair, that's not unique to Ruby. I use Python and I use pythonbrew (more or less identical to RVM) for the same reason.

3

u/[deleted] Feb 24 '13

Oh, sure. If anyone’s to blame it’s Apple… not only do they ship an outdated version of Ruby, but it’s also installed in such a way that you have to use sudo to change anything, and then you have to use sudo to run anything, and… it’s just a mess.

2

u/CaptainKabob Feb 24 '13

you have to use sudo to change anything, and then you have to use sudo to run anything, and… it’s just a mess

I think your ruby environment is misconfigured. Are you using RVM? I'd be seriously skeptical of anything that requires you to continually run as root, which is why I think you have something set up wrong (possibly from installing it as root in the first place). I'm on Mac OSX and have nothing close to that pain.

1

u/[deleted] Feb 24 '13

I might well have used sudo wrong once and then botched my Ruby configuration from then on. I probably could have reinstalled OS X to fix the problem, but the nice thing about RVM is that everything lives in ~/.rvm so there’s no mucking about with superuser permissions.

-1

u/CaptainKabob Feb 24 '13

Yeah, I've been there (oh, node/npm, you scamp). Fortunately many tools these days will complain/refuse to be installed under the superuser. In setting up my most recent Mac from scratch, I had a great experience using SoloWizard.