On Sat, Jul 2, 2011 at 2:50 AM, Amrit Pal Pathak <[email protected]>wrote:
> > > On Sat, Jul 2, 2011 at 5:22 AM, Conrad Taylor <[email protected]> wrote: > >> On Sat, Jul 2, 2011 at 12:28 AM, Amrit Pal Pathak < >> [email protected]> wrote: >> >>> How can i update my Rails gem version. to 2.2.2. >>> Now it is . >>> gem - v >>> 1.8.7 >>> >>> thanks in advance >>> >>> amritpalpathakgne.wordpress.com >>> >> >> Amrit, you can try the following: >> >> gem install rails -v 2.2.2 >> >> well .It seems ok.This command gave >> > > Fetching: activerecord-2.2.2.gem (100%) > Fetching: actionpack-2.2.2.gem (100%) > Fetching: actionmailer-2.2.2.gem (100%) > Fetching: activeresource-2.2.2.gem (100%) > Fetching: rails-2.2.2.gem (100%) > Successfully installed activesupport-2.2.2 > Successfully installed activerecord-2.2.2 > Successfully installed actionpack-2.2.2 > Successfully installed actionmailer-2.2.2 > Successfully installed activeresource-2.2.2 > Successfully installed rails-2.2.2 > 6 gems installed > Installing ri documentation for activesupport-2.2.2... > Installing ri documentation for activerecord-2.2.2... > Installing ri documentation for actionpack-2.2.2... > Installing ri documentation for actionmailer-2.2.2... > Installing ri documentation for activeresource-2.2.2... > Installing ri documentation for rails-2.2.2... > Installing RDoc documentation for activesupport-2.2.2... > Installing RDoc documentation for activerecord-2.2.2... > Installing RDoc documentation for actionpack-2.2.2... > Installing RDoc documentation for actionmailer-2.2.2... > Installing RDoc documentation for activeresource-2.2.2... > Installing RDoc documentation for rails-2.2.2... > > > But why gem -v still shows 1.8.7.? > > amritpalpathakgne.wordpress.com > Amrit, there may be something within your environment which may be causing this issue. You'll have to check how you have installed things. In general, 1.8.7 usually refers to the version of Ruby installed on your system. At this time, the latest version of Rubygems is 1.8.5 as far as I know. 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]. > 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.

