I'm using rubygems 1.0.1 and run on ms vista business. Can anyone help?
I've tried searching the project for 1.15.6 with no luck. Thanks for
your time.
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:319:in `activate': can't
activate activerecord (= 1.15.6), already activated
activerecord-2.0.2] (Gem::Exception)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
`new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:229:in
`establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:215:in
`establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:208:in
`establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:234:in
`initialize_database'
... 30 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from script/server:3
When I create a new Rails app it doesn't have this problem. I've
reinstalled all my gems, and I removed the one plugin I had in vendor
but none of that helped. To upgrade my app I just did `rails .` like
always.
One thing that stands out in this list is the actionwebservice (1.2.6)
version. Did it not get bumped up to 2.0.2 like all the other Rails
gems? http://rubyforge.org/projects/aws/ says 1.2.6 is the latest.
One thing that stands out in this list is the actionwebservice (1.2.6)
version. Did it not get bumped up to 2.0.2 like all the other Rails
gems? http://rubyforge.org/projects/aws/ says 1.2.6 is the latest.
They need to do gem update if they can (and I’m now assuming they can’t since it’s a shared environment) or specify a correct RAILS_GEM_VERSION in config/environment.rb
Running `gem update` is not a problem, adding new gems is fine. I
just can't run `gem cleanup` to take any away as I don't know what
other Rails apps might be using any of them.
My problem began when I upgraded this one Rails app that works fine
under 1.2.6 to 2.0.2. When upgrading my RAILS_GEM_VERSION became
2.0.2. That's how I found the issue to start with.
I have the same error on Windows, Firebird & Rails 2.0.2 when running
rake db:create. I get solved the problem installing firebird adapter for
Rails 2.0.2. The problem was I also installed rails 1.2.5 and ther
fireruby gem. When rake started, not found firebird adapter for rails
2.0, but found the adapter for rails 1.2.5: seem this requires
activerecord-1.1.5 and then I get the 'already activated activerecord
...'. So maybe you are missing also some gem updated for Rails 2.0.2
Besides all the other headaches the upgrade has given me this was one of
many.
Go to your ruby install path where your gems are located.
For me its C:\ruby\lib\ruby\gems\1.8\gems ( on windows) on linux I
assume the same thing probably like /usr/lib/ruby (just a guess)
in this folder i found that the activerecord-2.0.2- had the end dash,
and the version 1.15.3 didn't have the end dash. So I just put the dash
on the 1.15.3 and removed it from 2.0.2 and it worked. I actually
removed the dash from all the ones i thought were needed.
Besides all the other headaches the upgrade has given me this was one of
many.
Go to your ruby install path where your gems are located.
For me its C:\ruby\lib\ruby\gems\1.8\gems ( on windows) on linux I
assume the same thing probably like /usr/lib/ruby (just a guess)
in this folder i found that the activerecord-2.0.2- had the end dash,
and the version 1.15.3 didn't have the end dash. So I just put the dash
on the 1.15.3 and removed it from 2.0.2 and it worked. I actually
removed the dash from all the ones i thought were needed.
I was running into this same problem. every time that i attempted to
create a new rails application i received this error:
I don't have a dash after activerecord-2.0.2 but I also have the
problem of "active: can't activate activerecord (=1.15.2) already
activated activerecord-2.0.2
Any idea?
Thanks.