# HELP Installing older versions of rails on OSX?

**URL:** <https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976>\
**Category:** Rails\
**Created:** [July 15, 2014, 8:19pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976 "2014-07-15T20:19:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 15, 2014, 8:19pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976/1 "2014-07-15T20:19:26Z")

</div>

I am attempting to recreate an old install of a machine that failed  
recently. I originally setup the machine using the guide found on  
Hivelogic ([Dan Benjamin](http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx)).  
Which would have reinstated all of my old environments (Ruby 1.8.6,  
Rubygems 0.9.2 Rails 2.1.6)…

I can get Ruby installed fine, although I had to use 1.8.7 because of  
RubyGems, which is running version 1.3.6) but when I try to

sudo gem install rails it won’t install because of

active support requires Ruby version \>= 1.9.3

Can anyone help me in getting Rails setup with Ruby 1.8.7 and RubyGems  
1.3.6 is there a way to pass the version of Rails to the gem installer ?

Thank you in advance.

Jeff

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [July 15, 2014, 8:53pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976/2 "2014-07-15T20:53:06Z")

</div>

On Jul 15, 2014, at 12:19 PM, Jeff L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Can anyone help me in getting Rails setup with Ruby 1.8.7 and RubyGems  
> 1.3.6 is there a way to pass the version of Rails to the gem installer ?

gem install rails -v 1.3.6

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [July 15, 2014, 9:37pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976/3 "2014-07-15T21:37:15Z")

</div>

On Tue, Jul 15, 2014 at 11:19 AM, Jeff L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I am attempting to recreate an old install of a machine that failed  
> recently.

This is _exactly_ where you should be using rvm ([http://rvm.io/](http://rvm.io/)).  
You will save yourself a ton of pointless grief. Seriously.

–  
Hassan S. ------------------------ [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[Hassan Schroeder | about.me](http://about.me/hassanschroeder)  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [July 15, 2014, 11:17pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976/4 "2014-07-15T23:17:03Z")

</div>

So with this, could I confidently install Rails 1.1.6 and Ruby 1.8.6 ?  
Because thus far, attempting to get these two in line is turning out to  
be a real headache… ☹

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [July 15, 2014, 11:39pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976/5 "2014-07-15T23:39:35Z")

</div>

On Tue, Jul 15, 2014 at 2:17 PM, Jeff L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> So with this, could I confidently install Rails 1.1.6 and Ruby 1.8.6 ?

Yes. I just did a test install of those on an MBA running Mavericks.

> rvm install ruby-1.8.6  
> rvm use ruby-1.8.6  
> gem install rake -v ‘0.8.7’ # just a random old version  
> gem install rails -v ‘1.1.6’

tickety-boo and bob’s y’r uncle 🙂

You might have to do some sleuthing to figure out which versions  
of other gems you need, but that’s a start.

## Good luck.

Hassan S. ------------------------ [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[Hassan Schroeder | about.me](http://about.me/hassanschroeder)  
twitter: @hassan
