Ruby on Rails Saturday, July 2, 2011



On Sat, Jul 2, 2011 at 5:22 AM, Conrad Taylor <conradwt@gmail.com> wrote:
On Sat, Jul 2, 2011 at 12:28 AM, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:
How can i update my Rails gem version. to 2.2.2.
Now it is .
gem - v
1.8.7

thanks in advance


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.?

--
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@googlegroups.com.
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.

No comments:

Post a Comment