Hi all, I am using unbuntu 11.10 with ruby 1.9.3. I installed ruby 1.9.3 via source code and installed rails 3.2x with the gem command ''sudo gem install rails'' After new a project and run ''rails server'', an error occured, it was ''Can not find javascript runtime''. Then I searched google and try to fix this problem by installing ''therubyracer'' gem. But when I type ''rails server'' the problem still orrcued. Would you kindly tell me how can I fix this issue? Thank you. Eason -- 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 https://groups.google.com/groups/opt_out.
rajesh reddy
2012-Jul-20 05:00 UTC
Re: Can not fix the ''can not find javascript runtime'' issue
Hi, include these two gems gem ''execjs'' gem ''therubyracer'' Regards, Rajesh. On Friday, July 20, 2012 7:48:21 AM UTC+5:30, Eason wrote:> > Hi all, > > I am using unbuntu 11.10 with ruby 1.9.3. > > I installed ruby 1.9.3 via source code and installed rails 3.2x with the > gem command ''sudo gem install rails'' > > After new a project and run ''rails server'', an error occured, it was ''Can > not find javascript runtime''. > > Then I searched google and try to fix this problem by installing > ''therubyracer'' gem. > > But when I type ''rails server'' the problem still orrcued. > > Would you kindly tell me how can I fix this issue? > > Thank you. > > Eason > >-- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/4TX6gLooW50J. For more options, visit https://groups.google.com/groups/opt_out.
Mrrobinhood5
2012-Jul-20 05:03 UTC
Can not fix the ''can not find javascript runtime'' issue
Try installing nodejs :) If on ubuntu type : sudo apt-get install nodejs Hope this helps -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/xUe1MKVCLekJ. For more options, visit https://groups.google.com/groups/opt_out.
Ekin Han
2012-Jul-20 10:36 UTC
Re: Can not fix the ''can not find javascript runtime'' issue
Thank you very much, I think i should install nodejs to fix this issue 2012/7/20 Mrrobinhood5 <mrrobinhood5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> Try installing nodejs :) > > If on ubuntu type : > sudo apt-get install nodejs > > Hope this helps > > -- > 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 > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/xUe1MKVCLekJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 https://groups.google.com/groups/opt_out.
Norbert Melzer
2012-Jul-20 17:18 UTC
Re: Can not fix the ''can not find javascript runtime'' issue
I would prefer ruby racer gem over nodes! Nodejs is a dependency that you eventually can''t satisfy on your production environment, and or others can''t if this is a project meant to be released open source or even selling. Am 20.07.2012 12:36 schrieb "Ekin Han" <nbkhic007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> Thank you very much, I think i should install nodejs to fix this issue > > 2012/7/20 Mrrobinhood5 <mrrobinhood5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> Try installing nodejs :) >> >> If on ubuntu type : >> sudo apt-get install nodejs >> >> Hope this helps >> >> -- >> 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 >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/xUe1MKVCLekJ. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > 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 https://groups.google.com/groups/opt_out. > > >-- 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 https://groups.google.com/groups/opt_out.