On Tue, Jun 19, 2012 at 5:09 PM, Amir Z. <li...@ruby-forum.com> wrote: > I am running the command rails server on ubuntu 12.04 having rails 3 but > getting following error. > > > amir@ubuntu:~/app$ rails server > /home/amir/.rvm/gems/ruby-1.9.2-p320/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in > `autodetect': Could not find a JavaScript runtime. See > https://github.com/sstephenson/execjs for a list of available runtimes. > (ExecJS::RuntimeUnavailable)
You may install nodejs using sudo apt-get install nodejs This may solve the problem. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.