Live data from Hacker News

Ruby 1.8.7 retired

ruby-lang.org

11–20 of 67 posts

Re: Ruby 1.8.7 retired

#11

So is Apple finally going to update the version of ruby that comes already installed on osx?

Mavericks ships with 2.0.0

Yup it's a shame an operating system released as early as this year (mountain lion) came with 1.8.7 because it will be around for quite a while. We recently had to make the difficult decision to continue support of it in a new release because of CentOS, Mountain Lion etc...

At least 2.0.0p195 is indeed in Mavericks.

Re: Ruby 1.8.7 retired

#12
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…

A popular alternative to rvm is rbenv: https://github.com/sstephenson/rbenv

Re: Ruby 1.8.7 retired

#14
post #11

Earlier quoted context omitted.

Mavericks ships with 2.0.0

Yup it's a shame an operating system released as early as this year (mountain lion) came with 1.8.7 because it will be around for quite a while. We recently had to make the difficult decision to continue support of it in a new release because of CentOS, Mountain Lion etc... At least 2.0.0p195 is indeed in Mavericks.

Are there people that do programming on macs not use tools like macports or homebrew?

Re: Ruby 1.8.7 retired

#15
post #14
post #11

Earlier quoted context omitted.

Yup it's a shame an operating system released as early as this year (mountain lion) came with 1.8.7 because it will be around for quite a while. We recently had to make the difficult decision to continue support of it in a new release because of CentOS, Mountain Lion etc... At least 2.0.0p195 is indeed in Mavericks.

Are there people that do programming on macs not use tools like macports or homebrew?

You are right, I'm pretty sure everyone who is a professional programmer uses homebrew, it's amazing.

However, coding to 1.8.7 lets those who aren't hardcore rubyists currently enjoy a gem they may otherwise not be able to without having to deal with or even know about rvm or rbenv.

Re: Ruby 1.8.7 retired

#16
post #6

Earlier quoted context omitted.

No more RVM! Fantastic news!

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.

Re: Ruby 1.8.7 retired

#18
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 might want to be careful: in OS X Mavericks, the default version of Ruby is 2.0.0p195. If you decide to upgrade, you'll have to go through this pain all over again.

If you're using Homebrew, you can install rbenv, ruby-build, and then use rbenv install to install a new Ruby version. Homebrew has its own version of Ruby, but it's the latest version and it's more maintainable to use rbenv or RVM to manage Ruby installations. It's sort of a pain, but once everything's set up, you won't have to think about it again.

Re: Ruby 1.8.7 retired

#20
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 want to play with Ruby and not Rails specifically, may I suggest a less monstrous framework, like Sinatra [1] or Ramaze [2]. Both come in one gem and have only one dependency - Rack (web server gateway).

You do not need a version manager to give Ruby a try. Although, it's a nice thing to have. If you decide to use one, you basically have 3 options: 1. rvm (most popular and bloated), 2. rbenv (simple), 3. chruby (even simpler).

If you can, I advise you to switch to Ruby 2.0. It's faster, got a lot of new features and it's becoming the default in the community.

Last piece of advice, do not mix up Ruby and Rails :)

[1] http://www.sinatrarb.com/ [2] http://ramaze.net/

Post reply on HN