Replace Ruby 1.8.7 with 1.8.6 on Mac Snow Leapard

I am just beginning work on an existing app which must be developed
using 1.8.6, however, my Ruby is 1.8.7. I am a pixel-pusher /
interface designer by trade so terminal commands are new to me. I have
downloaded 1.8.6 using Terminal, how do I uninstall 1.8.7?

I have been using this for reference: http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx

Many thanks

I am just beginning work on an existing app which must be developed
using 1.8.6, however, my Ruby is 1.8.7. I am a pixel-pusher /
interface designer by trade so terminal commands are new to me. I have
downloaded 1.8.6 using Terminal, how do I uninstall 1.8.7?

You don't really want to mess with the system provided ruby. If you
follow the hivelogic instructions then you should end up with a
separate install of ruby, with the PATH setup so that your install of
ruby is found instead of the system one.

Fred

Alternatively you can use something like

rubyswitcher
http://blog.thinkrelevance.com/2009/7/29/ruby-switcher-working-with-multiple-ruby-versions-has-never-been-this-easy

or rvm

http://rvm.beginrescueend.com/

I am just beginning work on an existing app which must be developed

using 1.8.6, however, my Ruby is 1.8.7. I am a pixel-pusher /

interface designer by trade so terminal commands are new to me. I have

downloaded 1.8.6 using Terminal, how do I uninstall 1.8.7?

I have been using this for reference: http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx

Many thanks

Ptah, I would recommend installing the Ruby Version Manager Gem (RVM). Thus, you can do the

following:

  1. install the gem

sudo /usr/bin/gem install rvm

  1. configure the gem for use

rvm-install

  1. update your .profile by adding the following to the bottom of it

if [[ -s /Users/<USER_NAME>/.rvm/scripts/rvm ]] ; then source /Users/<USER_NAME>/.rvm/scripts/rvm ; fi

  1. open a new shell

  2. install the Ruby implementation

rvm install 1.8.6

Note: The above installs the latest revision of Ruby 1.8.6 and the current patch level is p368 as far as I know.

  1. set the default Ruby implementation

a) using the system version as the default

rvm system --default

b) using Ruby 1.8.6 as the default

rvm 1.8.6 --default

  1. switching between Ruby implementations

a) switching to Ruby 1.8.6

rvm use 1.8.6

b) switching to the system installed version

rvm use system

If you require any additional information, I would recommend using the following URL:

http://rvm.beginrescueend.com

Also, you can join the Google Group:

http://groups.google.com/group/rubyversionmanager

Good luck,

-Conrad

I am just beginning work on an existing app which must be developed

using 1.8.6, however, my Ruby is 1.8.7. I am a pixel-pusher /

interface designer by trade so terminal commands are new to me. I have

downloaded 1.8.6 using Terminal, how do I uninstall 1.8.7?

I have been using this for reference: http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx

Many thanks

Ptah, I would recommend installing the Ruby Version Manager Gem (RVM). Thus, you can do the

following:

  1. install the gem

sudo /usr/bin/gem install rvm

  1. configure the gem for use

rvm-install

  1. update your .profile by adding the following to the bottom of it

if [[ -s /Users/<USER_NAME>/.rvm/scripts/rvm ]] ; then source /Users/<USER_NAME>/.rvm/scripts/rvm ; fi

  1. open a new shell

  2. install the Ruby implementation

rvm install 1.8.6

Note: The above installs the latest revision of Ruby 1.8.6 and the current patch level is p368 as far as I know.

  1. set the default Ruby implementation

a) using the system version as the default

rvm system --default

b) using Ruby 1.8.6 as the default

rvm 1.8.6 --default

  1. switching between Ruby implementations

a) switching to Ruby 1.8.6 version

rvm use 1.8.6

b) switching to the system installed version

rvm use system

If you require any additional information, I would recommend using the following URL:

http://rvm.beginrescueend.com

Also, you can join the Google Group:

http://groups.google.com/group/rubyversionmanager

Good luck,

-Conrad

I will have a go, many thanks...

Thanks for your help, I will check this approach out too

Looks like I am going to be busy trying out some really helpful
suggestions and I really appreciate you taking the time to give me
this info... cheers....