brian piercy
2011-Sep-05 20:12 UTC
rails 3.1.0 server bombs - no javascript runtime. Ideas?
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 view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/HESkWlWRSnoJ. 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Martin Wawrusch
2011-Sep-06 05:05 UTC
Re: rails 3.1.0 server bombs - no javascript runtime. Ideas?
execjs is just an intermediary between a javascript runtime and ruby. In general adding therubyracer gem should help you, or installing node.js directly. On Mon, Sep 5, 2011 at 1:12 PM, brian piercy <bjpcjp-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 view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/HESkWlWRSnoJ. > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Dave Geller
2011-Sep-06 05:27 UTC
Re: rails 3.1.0 server bombs - no javascript runtime. Ideas?
gem ''therubyracer'' -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Jalb-OR1xxcJ. 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Onur Özgür ÖZKAN
2011-Sep-06 07:56 UTC
Re: rails 3.1.0 server bombs - no javascript runtime. Ideas?
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. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
brian piercy
2011-Sep-06 14:30 UTC
Re: rails 3.1.0 server bombs - no javascript runtime. Ideas?
Dave, gem ''therubyracer'' did the trick. Many thanks to you and everybody else on the thread. /Brian On Sep 6, 1:27 am, Dave Geller <arp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> gem ''therubyracer''-- 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. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.