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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2009-Nov-30 10:11 UTC
Re: Replace Ruby 1.8.7 with 1.8.6 on Mac Snow Leapard
On Nov 29, 11:28 pm, Ptah <ptahdev...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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? >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> I have been using this for reference:http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx > > Many thanks-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rick DeNatale
2009-Nov-30 15:12 UTC
Re: Re: Replace Ruby 1.8.7 with 1.8.6 on Mac Snow Leapard
On Mon, Nov 30, 2009 at 5:11 AM, Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Nov 29, 11:28 pm, Ptah <ptahdev...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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? >> > > 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.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/ -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Nov 29, 2009 at 3:28 PM, Ptah <ptahdevine-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Nov 29, 2009 at 3:28 PM, Ptah <ptahdevine-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 7) 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> -- > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I will have a go, many thanks... On Nov 30, 10:11 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Nov 29, 11:28 pm, Ptah <ptahdev...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > I am just beginning work on an existing app which must be developed > > using1.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 > > downloaded1.8.6using 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 > > > > > I have been using this for reference:http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx > > > Many thanks-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks for your help, I will check this approach out too On Nov 30, 3:12 pm, Rick DeNatale <rick.denat...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mon, Nov 30, 2009 at 5:11 AM, Frederick Cheung > > <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Nov 29, 11:28 pm, Ptah <ptahdev...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > >> I am just beginning work on an existing app which must be developed > >> using1.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 > >> downloaded1.8.6using 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. > > Alternatively you can use something like > > rubyswitcherhttp://blog.thinkrelevance.com/2009/7/29/ruby-switcher-working-with-m... > > or rvm > > http://rvm.beginrescueend.com/ > > -- > Rick DeNatale > > Blog:http://talklikeaduck.denhaven2.com/ > Twitter:http://twitter.com/RickDeNatale > WWR:http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn:http://www.linkedin.com/in/rickdenatale-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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.... On Nov 30, 6:24 pm, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Nov 29, 2009 at 3:28 PM, Ptah <ptahdev...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 > > 7) 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 > > > > > -- > > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscrib e@googlegroups.com> > > . > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.