How can i update my Rails gem version. to 2.2.2.
Now it is .
gem - v
1.8.7
thanks in advance
How can i update my Rails gem version. to 2.2.2.
Now it is .
gem - v
1.8.7
thanks in advance
gem update --system try google for this
On Sat, Jul 2, 2011 at 12:58 PM, Amrit Pal P.
<[email protected]
wrote:
You received this message because you are subscribed to the Google G.
“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.
–
Rajeev Kannav
Sharmahttp://www.google.com/search?q=Rajeev+Kannav+Sharma&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
On Sat, Jul 2, 2011 at 4:48 AM, rajeevsharma86
[email protected]wrote:
gem update --system try google for this
It says latest version currently install.
gem -v => 1.8.7
But i need 2.2.2.
How can i ?
Thanks
On Sat, Jul 2, 2011 at 12:28 AM, Amrit Pal P.
<[email protected]
wrote:
How can i update my Rails gem version. to 2.2.2.
Now it is .
gem - v
1.8.7thanks in advance
Amrit, you can try the following:
gem install rails -v 2.2.2
Good luck,
-Conrad
On Sat, Jul 2, 2011 at 5:22 AM, Conrad T. [email protected]
wrote:
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.?
On Sat, Jul 2, 2011 at 5:58 AM, Conrad T. [email protected]
wrote:
How can i update my Rails gem version. to 2.2.2.
Now it is .
gem - v
1.8.7oh yes .Its a 1.8.5.But it is latest version of it,why in
Rails project (i have just downloaded it),in
environment file it is mention that it need gem
2.2.2.
Thanks you
amritpalpathakgne.wordpress.com
On Sat, Jul 2, 2011 at 7:10 AM, Amrit Pal P.
[email protected]wrote:
Rails project (i have just downloaded it),in environment file it is mention that it need gem 2.2.2.
Hi, what version of Rails do you want to use?
-Conrad
On Sat, Jul 2, 2011 at 2:50 AM, Amrit Pal P.
[email protected]wrote:
1.8.7
well .It seems ok.This command gave
Successfully installed actionmailer-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.?
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
–
On Sat, Jul 2, 2011 at 10:46 AM, Conrad T. [email protected]
wrote:
oh yes .Its a 1.8.5.But it is latest version of it,why in
Rails project (i have just downloaded it),in environment file it is mention that it need gem 2.2.2.
Hi, what version of Rails do you want to use?
I have rails 3.0.7 and it is ok for me
Thanks
On Sat, Jul 2, 2011 at 11:25 AM, Conrad T. [email protected]
wrote:
On Sat, Jul 2, 2011 at 12:28 AM, Amrit Pal P. <
environment file it is mention that it need gemIf you’re using Rails 3.0.7, then you should have a Gemfile in the root
of your Rails project.
Strange!!
This project dont have Gemfile
On Sat, Jul 2, 2011 at 8:04 AM, Amrit Pal P.
[email protected]wrote:
How can i update my Rails gem version. to 2.2.2.
Hi, what version of Rails do you want to use?
I have rails 3.0.7 and it is ok for meThanks
If you’re using Rails 3.0.7, then you should have a Gemfile in the root
of your Rails project. Within the Gemfile, you would add an entry to
use Rails 3.0.7. For example,
gem ‘rails’, ‘3.0.7’
Next, you’ll run the bundle command at the root of your Rails project:
bundle install
Last but not least, I would highly recommend the following site:
http://ruby.railstutorial.org/
Good luck,
-Conrad
–
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs