documentcloud / jammit

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

Running from rake yields uninitialized constant Jammit::RAILS_ENV #157

Closed dblock closed 13 years ago

dblock commented 13 years ago

/home/joe/.rvm/gems/ruby-1.9.2-p136/bundler/gems/jammit-caf1c68d15c5/lib/jammit.rb:71:in `load_configuration': uninitialized constant Jammit::RAILS_ENV (NameError)

That is because Rails.env is not defined when this code is executed? And there's no definition for RAILS_ENV anywhere.

dblock commented 13 years ago

Pull request on its way.