On Sun, Nov 29, 2009 at 3:28 PM, Ptah <[email protected]> wrote:

> 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

2)  configure the gem for use

     rvm-install

3)  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

4)  open a new shell

5)  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.

6)  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

6)  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


> --
>
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to