Hello,
I recently downloaded and installed ruby and rails. The online user guides list commands that I thought were bullet-proof. So when I issued 'rails server', I expected anything but a message telling me that execjs was not installed.
After I ran 'gem install execjs', I copied and pasted the code for test_execjs.rb into a file and issued 'ruby test_execjs.rb'. This is what I got in return:
ruby test_execjs.rb
Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs for a list of available runtimes.
My understanding was that ruby on rails follows conventions that make it easy to set up and get running ASAP. So far, that has not been the case. Am I missing something here?
I'd like to get this running so I can actually
develop a web application.
Thanks for any suggestions you might have.
Joe White