Reputation: 11563
When I run rails server
I get this error.
rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'
Then, I install it:
gem install uglifier
Successfully installed uglifier-2.7.2
...
But I still get the same error. What could it be? I'm using rvm and I'm new to Rails...
Upvotes: 0
Views: 37
Reputation: 1005
I think you need to install node js as there is a dependency on the run time, that helpfully does not show up.
Please find a link: Rake aborted, Error while trying to load the gem 'uglifier'
where they suggest apt-get install nodejs
Upvotes: 1