mlightner / universal_ruby_whois

A module that attempts to act as a universal WHOIS output interpreter allowing you to get information about most domain name extensions.
http://mattlightner.com/blog/a-universal-whois-client-for-ruby/
MIT License
42 stars 15 forks source link

activesupport dependency with rails 3 #3

Open aribeiro opened 13 years ago

aribeiro commented 13 years ago

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

debprado commented 13 years ago

I have the same problem, any luck?

debprado commented 13 years ago

I changed it to require 'active_support/all'