documentcloud / jammit

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

0.6.3 - MissingConfiguration bug #182

Closed bhellman1 closed 13 years ago

bhellman1 commented 13 years ago

With 6.3 when I try to deploy I get the following:

$ heroku jammit:add ===== Compiling assets.../Library/Ruby/Gems/1.8/gems/jammit-0.6.3/lib/jammit/packager.rb:47:in precache_all': A --base-url option is required in order to generate MHTML. (Jammit::MissingConfiguration) from /Library/Ruby/Gems/1.8/gems/jammit-0.6.3/lib/jammit/packager.rb:42:ineach' from /Library/Ruby/Gems/1.8/gems/jammit-0.6.3/lib/jammit/packager.rb:42:in precache_all' from /Library/Ruby/Gems/1.8/gems/jammit-0.6.3/lib/jammit.rb:132:inpackage!' from /Library/Ruby/Gems/1.8/gems/jammit-0.6.3/bin/../lib/jammit/command_line.rb:29:in initialize' from /Library/Ruby/Gems/1.8/gems/jammit-0.6.3/bin/jammit:5:innew' from /Library/Ruby/Gems/1.8/gems/jammit-0.6.3/bin/jammit:5 from /usr/bin/jammit:19:in `load' from /usr/bin/jammit:19 [FAIL]

Anyone else?

jashkenas commented 13 years ago

It should be exactly as it says -- if you're configured to generate MHTML, you need to supply a base url. Check the docs.

bhellman1 commented 13 years ago

Where is the configuration for MHTML.. How do you disable this? thanks

srobertson commented 13 years ago

I'm having the same issue. As far as I know or can see I haven't enabled MHTML..