Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jammit breaks 'rails g' listing #193

Open
nicholasf opened this issue Jul 25, 2011 · 0 comments
Open

jammit breaks 'rails g' listing #193

nicholasf opened this issue Jul 25, 2011 · 0 comments

Comments

@nicholasf
Copy link

Hi,

After having installed Jammit in a Rails 3.0.9 app, and running 'rails g', I see:


andromeda:ada-cms nicholas$ rails g
/Users/nicholas/.rvm/gems/ruby-1.9.2-p0/bundler/gems/jammit-3dedc9dffe04/lib/jammit.rb:73:in `load_configuration': undefined method `has_key?' for false:FalseClass (NoMethodError)
    from /Users/nicholas/.rvm/gems/ruby-1.9.2-p0/bundler/gems/jammit-3dedc9dffe04/lib/jammit/dependencies.rb:28:in `<top (required)>'
    from /Users/nicholas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
    from /Users/nicholas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in

Which seems to be issuing from:


 27 # Load initial configuration before the rest of Jammit.
 28 Jammit.load_configuration(Jammit::DEFAULT_CONFIG_PATH, true) if defined?(Rails)

The list of available rails generators obviously shouldn't be broken.

Cheers,
Nicholas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant