m sorry its a totally newbie question, but m really stuck. please help if possible. after installing everything required to run ruby on rails when i write the command ''rails s'' in the command prompt it doesn''t start the server. rather it shows : C:\Sites\railsinstaller_demo>rails s C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run times.rb:51:in `autodetect'': Could not find a JavaScript runtime. See https://gi thub.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUn available) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/l ib/execjs.rb:5:in `<module:ExecJS>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/l ib/execjs.rb:4:in `<top (required)>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script- 2.2.0/lib/coffee_script.rb:1:in `require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script- 2.2.0/lib/coffee_script.rb:1:in `<top (required)>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script- 2.2.0/lib/coffee-script.rb:1:in `require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script- 2.2.0/lib/coffee-script.rb:1:in `<top (required)>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-rails-3 .2.2/lib/coffee-rails.rb:1:in `require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-rails-3 .2.2/lib/coffee-rails.rb:1:in `<top (required)>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler/runtime.rb:68:in `require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler/runtime.rb:68:in `block (2 levels) in require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler/runtime.rb:66:in `each'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler/runtime.rb:66:in `block in require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler/runtime.rb:55:in `each'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler/runtime.rb:55:in `require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22 /lib/bundler.rb:122:in `require'' from C:/Sites/railsinstaller_demo/config/application.rb:7:in `<top (requ ired)>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 /lib/rails/commands.rb:53:in `require'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 /lib/rails/commands.rb:53:in `block in <top (required)>'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 /lib/rails/commands.rb:50:in `tap'' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 /lib/rails/commands.rb:50:in `<top (required)>'' from script/rails:6:in `require'' from script/rails:6:in `<main>'' Please guide me what to do.. thanks.. -- Posted via http://www.ruby-forum.com/. -- 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.
You should take a look at this C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/ execjs-1.4.0/lib/execjs/run times.rb:51:in `autodetect'': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) Its always useful to look the errors, I''ve seen this problem before you have to add therubyracer gem to you Gemfile (or take a look at the given link) Javier Q -- 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.
On 11 June 2012 19:19, nishant g. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> C:\Sites\railsinstaller_demo>rails s > C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run > times.rb:51:in `autodetect'': Could not find a JavaScript runtime. See > https://gi > thub.com/sstephenson/execjs for a list of available runtimes. > > Please guide me what to do..Install a javascript runtime? -- 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.
Correct link https://github.com/sstephenson/execjs>-- 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.
did everything. used the rubyracer and copied the source in my gemfile. ran the bundle install again but no use. maybe i''m doing the process of adding the rubyracer wrong. i would be very thankful if you please guide me through the process. thanks. -- Posted via http://www.ruby-forum.com/. -- 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.
On 11 June 2012 20:49, nishant g. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> did everything. > used the rubyracer and copied the source in my gemfile. ran the bundle > install again but no use. > > maybe i''m doing the process of adding the rubyracer wrong. > i would be very thankful if you please guide me through the process. > thanks.Post your Gemfile here. Colin -- 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.
this is the gemfile without the source of the ruby racer added. thanks for the help. Attachments: http://www.ruby-forum.com/attachment/7481/Gemfile -- Posted via http://www.ruby-forum.com/. -- 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.
On 12 June 2012 08:48, nishant g. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> this is the gemfile without the source of the ruby racer added.Please quote the previous reply so we know what you are talking about without having to go back over previous posts to find the context. Remember this is a mailing list (though you may be posting via a forum). There is no point posting it without ruby racer as that is the one you need to get working. Also post the output from bundle install Just post it inline, we don''t want to mess about downloading files. Colin -- 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.
On Monday, June 11, 2012 4:49:39 PM UTC-3, Ruby-Forum.com User wrote:> > did everything. > used the rubyracer and copied the source in my gemfile. ran the bundle > install again but no use. > > maybe i''m doing the process of adding the rubyracer wrong. > i would be very thankful if you please guide me through the process. > thanks. > >therubyracer does not work on Windows due it''s dependency on libv8. Windows already provides a JavaScript engine, but sometimes it might be missing from your system. You can simply install Node.JS and restart your computer to ensure "node" executable is available in the command prompt. Then try your Rails application again. -- Luis Lavena -- 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/-/iCso7ljnjGMJ. 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.
Luis Lavena wrote in post #1064505:> On Monday, June 11, 2012 4:49:39 PM UTC-3, Ruby-Forum.com User wrote: >> >> did everything. >> used the rubyracer and copied the source in my gemfile. ran the bundle >> install again but no use. >> >> maybe i''m doing the process of adding the rubyracer wrong. >> i would be very thankful if you please guide me through the process. >> thanks. >> >> > therubyracer does not work on Windows due it''s dependency on libv8. > > Windows already provides a JavaScript engine, but sometimes it might be > missing from your system. > > You can simply install Node.JS and restart your computer to ensure > "node" > executable is available in the command prompt. > > Then try your Rails application again. > > --> Luis LavenaYOU''RE MY HERO!!!!! Thanks a ton!!!!! :) got it running!! -- Posted via http://www.ruby-forum.com/. -- 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.
My hero too!!! =) -- Posted via http://www.ruby-forum.com/. -- 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.