Re: [Rails] Server is not starting

2012-06-19 Thread Mandeep Kaur
On Tue, Jun 19, 2012 at 5:09 PM, Amir Z. 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 no

Re: [Rails] Server is not starting

2012-06-19 Thread Carlos Mathiasen
In your gem file add: gem 'ejxecjs' gem 'therubyracer' save and run "bundle install" Or you can install node.js on ubuntu: http://qugstart.com/blog/node-js/how-to-install-node-js-on-ubuntu-and-create-an-app-in-5-minutes/ Matt's -- You received this message because you are subscribed to the G

Re: [Rails] Server is not starting

2012-06-19 Thread Carlos Mathiasen
Sorry, gem 'execjs' Matt's -- 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.

[Rails] Server is not starting

2012-06-19 Thread Amir Z.
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/sstephens