views:

1263

answers:

4

Hi,

while trying to start some old revision of an opensource rails project confronted with a cloudy error message:

"can't activate activesupport (>= 2.3.2, runtime), already activated activesupport-2.1.2"

What does it mean? Either versions of rails and activesupport are installed on my box.

I'm confused...

+2  A: 

Generally, a gem or plugin is loading 2.1.2 before Rails attempts to load 2.3.2. Best way to figure it out might be to comment out each gem requirement in environment.rb one at a time and see what happens.

Matt Darby
A: 

Do you have installed the recent active support gem?

Lichtamberg
A: 

Look in the trace associated with the error message. I recently encountered this problem where there was an instance of script/process/reaper which was getting run by Capistrano and preloading the older version. In the trace it showed the file which was trying to load the older version.

naven87
A: 

If you don't need the older version of the gem the easiest way to get up and running is to remove it.

gem uninstall activesupport

to remove the old versions

Felix