Live data from Hacker News

Ruby 1.8.7 retired

ruby-lang.org

1–10 of 67 posts

Re: Ruby 1.8.7 retired

#7

Earlier quoted context omitted.

Mavericks ships with 2.0.0

No more RVM! Fantastic news!

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.

Re: Ruby 1.8.7 retired

#8
My goodness, I have very little experience with Ruby and I'm currently in the process of trying to get a rails 3 app from github running on my osx system (1.8.7 default ruby version). I have spent the past several hours fighting with ruby versions and dependencies with the only glimmer of hope being successfully getting a hello world rails 4 app running.

Seriously I thought ruby was supposed to be a beacon of simplicity? Someone please tell me there's a light at the end of this tunnel.

Edit: Some folks have mentioned getting the RVM. I think I was unclear when I just said I've been fighting with ruby versions - I meant that all of this was done with RVM/gems/bundle/etc, but it's still been a p.i.t.a.

Re: Ruby 1.8.7 retired

#9
post #8

My goodness, I have very little experience with Ruby and I'm currently in the process of trying to get a rails 3 app from github running on my osx system (1.8.7 default ruby version). I have spent the past several hours fighting with ruby versions and dependencies with the only glimmer of hope being successfully getting a hello world rails 4 app running. Seriously I thought ruby was supposed to be a beacon of simplic…

If you are just trying to hack something together - don't worry. 1.8.7 has worked for a long time, and it will continue to do so for a while.

But if you are actually trying to build something to use long term - as crappy as it is to hear it now, it is not a great idea to use the system version of ruby. since it is likely as you get into ruby that you will have multiple projects which amy or may not require different subversions of ruby, you should always use rvm. it allows you to install multiple versions of ruby side by side.

also, check out https://github.com/tokaido/tokaidoapp

Re: Ruby 1.8.7 retired

#10
post #8

My goodness, I have very little experience with Ruby and I'm currently in the process of trying to get a rails 3 app from github running on my osx system (1.8.7 default ruby version). I have spent the past several hours fighting with ruby versions and dependencies with the only glimmer of hope being successfully getting a hello world rails 4 app running. Seriously I thought ruby was supposed to be a beacon of simplic…

You should install a ruby version manager. Most apps will specify the version in the project (.rvmrc or .ruby-version). If you have a ruby version manager and the required version installed, your system will switch automatically. Installing different versions of ruby is just a one liner.

  rvm instal ruby-1-9-3-p429
RVM setup guide: http://www.stewgleadow.com/blog/2011/12/10/installing-rvm-on...

rbenv setup guide: https://gist.github.com/jasoncodes/1223731

Post reply on HN