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
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
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.
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
4 matches
Mail list logo