Rails + Heroku + Jammit

Hello,

I’m working to install Jammit on my Rails 3 app and then to deploy to
Heroku. I installed the Jammit Gem, and configured assets.yml just
fine, it works on dev. But when I pushed to heroku, the files were
404’ing.

Jammit’s Usage instructions say: "You can easily use Jammit within
your Rakefile, and other scripts:

require 'jammit'
Jammit.package!

I’m not following where/how that works. Running Jammit in my sites
command like on the Mac yields a command not found.

Any Jammit users able to help me understand how to move to production
with Jammit?

Thanks

CuriousNewbie wrote in post #967557:

Hello,

I’m working to install Jammit on my Rails 3 app and then to deploy to
Heroku. I installed the Jammit Gem, and configured assets.yml just
fine, it works on dev. But when I pushed to heroku, the files were
404’ing.

Jammit’s Usage instructions say: "You can easily use Jammit within
your Rakefile, and other scripts:

require 'jammit'
Jammit.package!

I’m not following where/how that works.

Did you put that in your Rakefile like they suggested?

Running Jammit in my sites
command like on the Mac yields a command not found.

“In your sites command”? What does that mean? What, exactly, did you
try, and what was the exact result?

Any Jammit users able to help me understand how to move to production
with Jammit?

Thanks

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone