jamesmacaulay / sprockets_rails3_backport

Backport of Rails 3.1.x Sprockets integration to Rails 3.0.x
MIT License
6 stars 12 forks source link

problems with compress #1

Open ilyakatz opened 12 years ago

ilyakatz commented 12 years ago

i tried to use the gem and couldn't seem to get it to compress, poking around one problem was that it seems

config.assets.compress = true

since bootstrap has a check

  if config.assets.compress

needs to be set, which isn't in the documentation. however, even after i added this config, assets are still not compressed with these settings

  config.assets.js_compressor = :yui
  config.assets.css_compressor = :yui

any ideas why?

jdx commented 12 years ago

+1

vanner commented 12 years ago

+1