Skip to content

Instantly share code, notes, and snippets.

@ecpplus
Created September 14, 2011 07:52
Show Gist options
  • Save ecpplus/1216066 to your computer and use it in GitHub Desktop.
Save ecpplus/1216066 to your computer and use it in GitHub Desktop.
[Rails] fix `autodetect': Could not find a JavaScript runtime. error
gem 'therubyracer' # add this
@j4jagat
Copy link

j4jagat commented Jan 6, 2012

Install JavaScript runtime environment in your systems by using following steps. this is best way to sole

wget http://nodejs.org/dist/node-v0.1.31.tar.gz
tar xfv node-v0.1.31.tar.gz
cd node-v0.1.31
./configure
make
make install

Thanks,
Jagat Singh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment