Hey, I have Rails 2.2.2 installed by default on Mac OS X 10.6 How to upgrade it to the latest Rails 2.x.x ? Thanks for help and time. -- 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.
Hassan Schroeder
2010-Aug-18 15:40 UTC
Re: How to upgrade Rails version that comes with OS X SL
On Wed, Aug 18, 2010 at 8:04 AM, Hussein B <hubaghdadi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have Rails 2.2.2 installed by default on Mac OS X 10.6 > How to upgrade it to the latest Rails 2.x.x ?`sudo gem update rails` ought to do it :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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.
Robert Walker
2010-Aug-18 15:40 UTC
Re: How to upgrade Rails version that comes with OS X SL
Hussein B wrote:> Hey, > I have Rails 2.2.2 installed by default on Mac OS X 10.6 > How to upgrade it to the latest Rails 2.x.x ? > Thanks for help and time.sudo gem update --system sudo gem install rails -- Posted via http://www.ruby-forum.com/. -- 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.
Parker Selbert
2010-Aug-18 15:53 UTC
Re: How to upgrade Rails version that comes with OS X SL
Hussein B wrote:> Hey, > I have Rails 2.2.2 installed by default on Mac OS X 10.6 > How to upgrade it to the latest Rails 2.x.x ? > Thanks for help and time.You can update to the latest version of rails, but I would very highly recommend install RVM (Ruby Version Manager) as well. It will let you get a more up-to-date version of ruby installed and take all of the sudo use out of your gem managing. RVM - http://rvm.beginrescueend.com/ After installing RVM you can use different versions of Ruby, different sets of gems, and you can switch between them any time. -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Aug-18 16:36 UTC
Re: How to upgrade Rails version that comes with OS X SL
Parker Selbert wrote:> Hussein B wrote: >> Hey, >> I have Rails 2.2.2 installed by default on Mac OS X 10.6 >> How to upgrade it to the latest Rails 2.x.x ? >> Thanks for help and time. > > You can update to the latest version of rails, but I would very highly > recommend install RVM (Ruby Version Manager) as well. It will let you > get a more up-to-date version of ruby installed and take all of the sudo > use out of your gem managing.What''s the advantage of not using sudo for gems? And for Rails 2.x, why would you want anything past 1.8.7? Don''t get me wrong, I think RVM is a great idea and I will probably end up using it in the near future. I just don''t think it offers much of anything in the OP''s situation as presented.> > RVM - http://rvm.beginrescueend.com/ > > After installing RVM you can use different versions of Ruby, different > sets of gems, and you can switch between them any time.Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
Parker Selbert
2010-Aug-18 20:50 UTC
Re: How to upgrade Rails version that comes with OS X SL
Marnen Laibow-Koser wrote:> > What''s the advantage of not using sudo for gems? And for Rails 2.x, why > would you want anything past 1.8.7?Aside from the security aspect, which isn''t something I''m concerned about in this context, there is just the simplification. Getting identical, portable environments is a far bigger advantage which I should probably have focused on. Also, I have been using ~1.9.2 for 2.3.x with great success for a little while now. The only issue I''ve ever run into was with TMail.> Don''t get me wrong, I think RVM is a great idea and I will probably end > up using it in the near future. I just don''t think it offers much of > anything in the OP''s situation as presented.Perhaps not, but as somebody that went through the issues of installing from MacPorts and then compiled manually, and then had ruby and ruby19 installed side by side and switched using a Bash alias it would have been great to know RVM existed a bit sooner. Just spreading the word! -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Aug-18 21:03 UTC
Re: How to upgrade Rails version that comes with OS X SL
Parker Selbert wrote:> Marnen Laibow-Koser wrote: >> >> What''s the advantage of not using sudo for gems? And for Rails 2.x, why >> would you want anything past 1.8.7? > > Aside from the security aspect, which isn''t something I''m concerned > about in this context, there is just the simplification. Getting > identical, portable environments is a far bigger advantage which I > should probably have focused on. > > Also, I have been using ~1.9.2 for 2.3.x with great success for a little > while now. The only issue I''ve ever run into was with TMail.Interesting. I''ve heard enough about gem incompatibilities that I wasn''t planning to start using 1.9 with Rails until I start using Rails 3.> >> Don''t get me wrong, I think RVM is a great idea and I will probably end >> up using it in the near future. I just don''t think it offers much of >> anything in the OP''s situation as presented. > > Perhaps not, but as somebody that went through the issues of installing > from MacPorts and then compiled manually, and then had ruby and ruby19 > installed side by side and switched using a Bash alias it would have > been great to know RVM existed a bit sooner.Yeah, I''m glad that I know it exists before I actually need it. :) Although come to think of it, I may actually need it for my one JRuby project...> Just spreading the word!Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.