Forum: Ruby on Rails I am facing problem when i am running my rails app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
453493fcee22adbf3c46ac793a346ef5?d=identicon&s=25 Nike Mike (nike)
on 2008-12-09 06:07
hi have upgraded my version from 2.0.2 to 2.2.2.but the application
which i have created from rails 2.0.2 is not getting started.

Throwing

 ruby script/server
/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't
activate activesupport (= 2.2.2, runtime), already activated
activesupport-2.0.2 (Gem::Exception)
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35:in
`require'
  from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support.rb:28
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
  from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:1
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
  from script/server:3
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2008-12-09 09:48
(Received via mailing list)
On Dec 9, 5:07 am, Nike Mike <rails-mailing-l...@andreas-s.net> wrote:
> hi have upgraded my version from 2.0.2 to 2.2.2.but the application
> which i have created from rails 2.0.2 is not getting started.
>
Something is explicitly requiring another version of activesupport
(for example I think old versions of will_paginate did this).

Fred
3d316c80fabbae0086608d98dca1a1ff?d=identicon&s=25 karthie (Guest)
on 2008-12-09 12:42
(Received via mailing list)
hi have upgraded my version from 2.0.2 to 2.2.2.but the application
which i have created from rails 2.0.2 is not getting started.

REPLY:

Hi,
    you have upgraded rails 2.2.2. right! have you install gem rails -
v=2.2.2. if not install and check it. then you can get the exact
result.


Thanks,
Karthie
3d316c80fabbae0086608d98dca1a1ff?d=identicon&s=25 karthie (Guest)
on 2008-12-09 12:43
(Received via mailing list)
hi have upgraded my version from 2.0.2 to 2.2.2.but the application
which i have created from rails 2.0.2 is not getting started.

Hi,
   You have upgraded rails 2.2.2. right! have u "install gem -v=2.2.2
rails" after installing rails 2.2.2. if not install it and check it.
then you can get the exact result for the application which u did in
rails 2.0.2.


Thanks,
 Karthie
This topic is locked and can not be replied to.