Rails3.2 Could not find a JavaScript runtime error

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

The new Ubuntu 13.10 to configure ruby1.9.3+ to install the rails3.2 runtime environment;

$sudo apt-get install curl git
$ curl -L get.rvm.io | bash -s stable
$ source ~/.bashrc
$ source ~/.bash_profile
$ rvm install 1.9.3$ gem install rails -v 3.2
$ rails new ticket
$ rails serve

The following error

/home/user/.rvm/gems/ruby-1.9.3-p448/gems/execjs-2.0.2/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)

Sudo apt-get install nodejs problem solving

The installation of Ubuntu ruby+ rails "Ubuntu" RVM "refer to install rails3 in Ubuntu 10.04 Env_Config" "Ruby on rails, install the Rails development environment Linux
The study and development of rails "Ruby on rails actual Bible.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Carey at December 13, 2013 - 5:42 AM