ruby on rails 4 - Cannot load such file uglifier -


I'm having this error:

  error ("Load error: not loaded I can not manage this error on Rail 4.1.4. This is my jammf file: eg file - Uglifire \ n (in / var / www / dev / app)   

  Source 'https://rubygems.org' Mani Rail ',' 4.1.4 'Mani' mysql2 'Mani' jquery-rails' Mani 'devise' Mani 'Spring', Group :: Development Mani 'Unicorn'   

I tried to keep the light as light as possible, so I did the TurboLinks Removed, and all those initial gems:

  -gem 'sass -rils', '~> 4.0.3' -Gam 'eugriffire', 'gt = 1.3.0' - Village 'coffee-rail', '~> 4.0.0' -Gam 'turboilance'   

I used the rake property: precompile or RAILS_ENV = The output rake property: used the precompile and I think the JS file is compiled incorrectly.

This is my application.js:

  / / = Required jquery // = Required_js / require_tree   

And this is my production. RB:

  # Compile JavaScript and CSS # Config.assets.js_compressor =: uglifier # config.assets.css_compressor =: sass # If a precompold asset is erased then do not fallback on property pipeline Please. Config.assets.compile = true config.assets.precompile = ['* .js',' * .css', '*. Css.erb ']    

I know that this is an old question, but if Some people are having the same problem, so I decided to answer.


Try to remove uncontrollable gem completely from your Gemfile and do not forget to 'install bundle'.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -