Re: rails 3.1.0 server bombs - no javascript runtime. Ideas?

Onur Özgür ÖZKAN
2011-09-06T07:56:03Z

Hi Brian,

You must install a server site js compiler like node.js or an other
solution is adding ‘therubyracer’, ‘>= 0.8.2′ at gemfile

#Install node.js
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

# Or add therubyracer
gem ''therubyracer'', ''>= 0.8.2''

More info
http://www.onurozgurozkan.com/rails-3-1-and-execjsruntimeunavailable-error/

Best Regards.

On Sep 5, 11:12 pm, brian piercy
<bjp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Downloaded & installed RoR 3.1.0. On Windows, no problems.
>
> On Ubuntu, "rails server" bombs out with a missing Javascript
runtime. I
> installed the execjs gem to remedy the problem - no luck.
>
> Ideas?

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.