jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application
MIT License
592 stars 202 forks source link

Sprockets::Error: unknown compressor: js_compressor #201

Closed fredericgrati closed 9 years ago

fredericgrati commented 9 years ago

Hey guys,

when I try to build my assets with the following line : bundle exec rake assets:precompile

A error is raise : Sprockets::Error: unknown compressor: js_compressor

in this issue, @jonesdhtx has the same problem than me but no response is given :/

ruby version: "2.1.3" rails: "4.1.7"

Thx

carsomyr commented 9 years ago

@fredericgrati Could you provide an example app? Failing that, what does your Gemfile.lock look like?

fredericgrati commented 9 years ago

Sorry, my bad.

I find in the following line in the project : config.assets.js_compressor = :uglifier

Sorry about that, thx for your reactivity and the requireJs-rails Gem ;)

carsomyr commented 9 years ago

@fredericgrati Thanks for the catch.

agis commented 8 years ago

@fredericgrati This was not your fault, it's requirejs-rails fault and maybe this is fixed by #206.