rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
542 stars 97 forks source link

CoffeScript doesn't compiles #185

Closed askhat closed 9 years ago

askhat commented 9 years ago

I've added js :app, ['/js/app.coffee'] to AssetPack conf, line <script src='app.coffee'></script> appends to page, but file isn't accessible (isn't it should look like 'app.a165daffe5fa4927c0ed6c49d33fb4be.js'?). Gem 'coffee-script' listed at Gemfile, Node and coffee-script npm package are installed.

askhat commented 9 years ago

I figured out that config should be js :app, ['/js/app.js']. Sorry.