documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
MIT License
1.16k stars 197 forks source link

undefined method `keys' for false:FalseClass #180

Closed sjoonk closed 13 years ago

sjoonk commented 13 years ago

I use jammit in my new rails project and encouners an error. (rails version 3.0.7 and jammit v0.6, ruby 1.8.7/1.9.2 ) when i run rails server from my command, an error occurred. below:

$ rails s /opt/local/lib/ruby/gems/1.8/gems/jammit-0.6.0/lib/jammit.rb:192:in symbolize_keys': undefined methodkeys' for false:FalseClass (NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/jammit-0.6.0/lib/jammit.rb:68:in load_configuration' from /opt/local/lib/ruby/gems/1.8/gems/jammit-0.6.0/lib/jammit/dependencies.rb:15 from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /opt/local/lib/ruby/gems/1.8/gems/jammit-0.6.0/lib/jammit.rb:200 from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:inrequire' from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in require' from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:ineach' from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in require' from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:ineach' from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in require' from /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler.rb:120:inrequire' from /Users/coti22/works/wikiworks/config/application.rb:7 from /opt/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:28:in require' from /opt/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:28 from /opt/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27:intap' from /opt/local/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27 from script/rails:6:in `require' from script/rails:6

jashkenas commented 13 years ago

Looks like your configuration file couldn't be found? Without more information or a failing test case, I'm not sure I can help with this...

sjoonk commented 13 years ago

You're right. there are some mistakes in my configuration but i couldn't see it.

Thanks a lot.