Quantcast
Viewing all articles
Browse latest Browse all 2052

Rails stack Could not find a JavaScript runtime

I am getting an error running Capistrano (cap deploy) to a Rails virtual machine. The error is "could not find a JavaScript runtime".

I tried adding gem 'therubyracer'. But, that didn't work and others are saying not to use it.

So, I ran via SSH - $ sudo apt-get install nodejs

Now, I'm getting this when I cap deploy:

Image may be NSFW.
Clik here to view.
alt text


Viewing all articles
Browse latest Browse all 2052

Trending Articles