universal_ruby_whois icon indicating copy to clipboard operation
universal_ruby_whois copied to clipboard

activesupport dependency with rails 3

Open aribeiro opened this issue 14 years ago • 2 comments

Hi, I'm trying update a rails 2.0.2 to rails 3.0.7 and I get this problem when I add the lib as a plugin:

.rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require': no such file to load -- activesupport (LoadError) from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:innew_constants_in' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from Sites/project/vendor/plugins/universal_ruby_whois/lib/universal_ruby_whois.rb:2 from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:innew_constants_in' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from Sites/project/vendor/plugins/universal_ruby_whois/init.rb:3 from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/plugin.rb:81 from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/initializable.rb:25:in instance_exec' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/initializable.rb:25:inrun' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/initializable.rb:50:in run_initializers' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/initializable.rb:49:ineach' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/initializable.rb:49:in run_initializers' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/application.rb:134:ininitialize!' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/application.rb:77:in send' from .rvm/gems/ruby-1.8.7-p330@project/gems/railties-3.0.7/lib/rails/application.rb:77:inmethod_missing' from Sites/project/config/environment.rb:5 from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:innew_constants_in' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from .rvm/gems/ruby-1.8.7-p330@project/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from Sites/project/config.ru:3 from .rvm/gems/ruby-1.8.7-p330@project/gems/rack-1.2.2/lib/rack/builder.rb:46:in instance_eval' from .rvm/gems/ruby-1.8.7-p330@project/gems/rack-1.2.2/lib/rack/builder.rb:46:ininitialize' from Sites/project/config.ru:1:in `new' from Sites/project/config.ru:1

I notice there is a require 'activesupport' here universal_ruby_whois/lib/universal_ruby_whois.rb:2 There is any way to fix this problem???

Thanks

aribeiro avatar Apr 20 '11 19:04 aribeiro

I have the same problem, any luck?

debprado avatar Aug 04 '11 16:08 debprado

I changed it to require 'active_support/all'

debprado avatar Aug 04 '11 16:08 debprado