Cannot activate activesupport (> = 2.3.2, runtime), already activated activesupport-2.1.2. what does it mean?

when trying to start some old revision of the rails opensource project, encountering a cloudy error message:

"cannot activate activesupport (> = 2.3.2, runtime), already activated activesupport-2.1.2"

What does it mean? Either rail versions or activesupport are installed on my box.

I'm confused...

+7
ruby-on-rails activesupport
source share
6 answers

Typically, a stone or plugin loads 2.1.2 before Rails tries to load 2.3.2. The best way to understand this may be to comment on each gem requirement in environment.rb one at a time and see what happens.

+4
source share

If you don’t need an older version of the gem, the easiest way to get up and run is to remove it.

gem uninstall activesupport 

To remove old versions.

+4
source share

Is a recent active support stone installed?

0
source share

Look at the trace associated with the error message. I recently ran into this problem when there was an instance of script / process / reaper that was launched by Capistrano and preloaded an older version. On the track, he showed a file that was trying to download an older version.

0
source share

with this error, active Rails support does not work, because active Gem support is installed on your computer with version 2.1.2, and the project requires the latest version (2.3.2) of this gem.

IMHO, I think you need to update the gem, because many times I decided to type this on the terminal:

gem install gem_name

where gem_name is the name of the gem you want to set. Ruby will remove the old version and install the new one. Download activesupport-2.3.2.gem from http://rubyforge.org/frs/?group_id=570 and place it in your project directory and run the command.

Here you can find other gems: http://rubygems.org/

0
source share

I also got the same error, but later I updated Rails and downloaded all the dependencies and the problem was resolved.

0
source share

All Articles