I am facing problem when i am running my rails app


#1

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:inrequire’
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:inrequire’
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:inrequire’
from script/server:3


#2

On Dec 9, 5:07 am, Nike M. removed_email_address@domain.invalid 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


#3

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


#4

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