
"can't activate activesupport (>= 0, runtime), already activated activesupport"
Reported by Jérémy FRERE | May 19th, 2009 @ 08:10 AM
Hello there,
After installing authlogic as a gem and adding the "config gem 'authlogic'" to environment.rb I get this message (and not only while trying to scaffold something, it occurs everywhen) :
jeremy@jeremy-desktop:~/NetBeansProjects/upload$ script/generate nifty_scaffold user username:string email:string password:string new edit
/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate activesupport (>= 0, runtime), already activated activesupport-2.1.0 (Gem::Exception)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:165:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem'
from ./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:32:in `add_load_paths'
from /home/jeremy/NetBeansProjects/upload/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:283:in `to_proc'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:241:in `each'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:241:in `add_gem_load_paths'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:115:in `process'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:93:in `send'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:93:in `run'
from /home/jeremy/NetBeansProjects/upload/config/environment.rb:13
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 /home/jeremy/NetBeansProjects/upload/vendor/rails/railties/lib/commands/generate.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/generate:3
For now I installed it as a plugin, but I hope you can fix this
...
Thanks !
Comments and changes to this ticket
-
Ben Johnson May 28th, 2009 @ 03:50 AM
- State changed from new to resolved
Yeah, the older verions of rails had this issue.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.