Skip to content

jammit breaks 'rails g' listing #193

Description

@nicholasf

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions