Rails: uglifier gem won't load

114 Views Asked by At

I am getting an error when trying to load server and migrate databases in rails. My uglifier gem wont load and i need it to run devise properly.

This is the error i get:

 There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError)

I am running windows 8 if that makes a difference.

1

There are 1 best solutions below

0
On BEST ANSWER

Do you have nodejs installed? If not, you can run sudo apt-get install nodejs

P.S. you can do node -v to see if you have nodejs installed.