Hello all.
I’m Ruby and Rails newbie.
I have the following error after installing the Globalize gem trying
to run script/server:
$ ./server
=> Booting WEBrick…
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:376:in new_constants_in': You have a nil object when you didn't expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.empty? from /usr/lib/ruby/ gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb: 202:in
load_file’
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:94:in require_or_load' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:60:in
depend_on’
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:442:in require_dependency' from /var/www/exploder/vendor/plugins/globalize/branches/with- mlr/lib/multilingual/base.rb:19 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in
gem_original_require’
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
27:in require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:in
require’
… 26 levels…
from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/
server.rb:39
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
27:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in
require’
from ./server:3
Please help!