views:

56

answers:

0

Hi, I have a Jammit gem installed.

I want to configure it a little: it must pack all the stuff into "public/assets_cache" folder, so, the packaged stuff will not make clutter in "public/assets", that has all .js and .css files.

I have followed documentation here and here

environment.rb is:

require "Jammit"
...
config.gem "jammit"
   Jammit::DEFAULT_PACKAGE_PATH = "assets_cache"

Of course, can use command line, like so:

jammit -o "public/assets_cache"

But i don't want to make it everytime, when i change something.

Summary:

  • How to set default path to look for stuff to pack ?

  • How to set default output path ?

  • How to set default path to look for packed stuff ?