`autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes

unknown wrote in post #1096534:

sudo apt-get install nodejs worked for me

Thanks , this worked for me and rails server is now up and running.