I'm new so I just can't figure out what's going on here. I was going
through a tutorial to learn the ins and outs of Rails and then it just
stopped working.

  I'm running RubyMine on Windows for now. Here are the errors:
  [rake --tasks] rake aborted!
  Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs
for a list of available runtimes.
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/execjs-1.2.11/
lib/execjs/runtimes.rb:47:in `autodetect'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/execjs-1.2.11/
lib/execjs.rb:5:in `<module:ExecJS>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/execjs-1.2.11/
lib/execjs.rb:4:in `<top (required)>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/coffee-
script-2.2.0/lib/coffee_script.rb:1:in `require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/coffee-
script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/coffee-
script-2.2.0/lib/coffee-script.rb:1:in `require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/coffee-
script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/coffee-
rails-3.1.1/lib/coffee-rails.rb:1:in `require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/coffee-
rails-3.1.1/lib/coffee-rails.rb:1:in `<top (required)>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler/runtime.rb:68:in `require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler/runtime.rb:68:in `block (2 levels) in require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler/runtime.rb:66:in `each'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler/runtime.rb:66:in `block in require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler/runtime.rb:55:in `each'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler/runtime.rb:55:in `require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/
lib/bundler.rb:122:in `require'
  W:/RubymineProjects/blog/config/application.rb:7:in `<top
(required)>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/
custom_require.rb:36:in `require'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/
custom_require.rb:36:in `require'
  W:/RubymineProjects/blog/Rakefile:5:in `<top (required)>'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/rake_module.rb:25:in `load'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/rake_module.rb:25:in `load_rakefile'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:501:in `raw_load_rakefile'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:82:in `block in load_rakefile'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:133:in `standard_exception_handling'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:81:in `load_rakefile'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:65:in `block in run'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:133:in `standard_exception_handling'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/
rake/application.rb:63:in `run'
  W:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/
rake:33:in `<top (required)>'
  W:/RailsInstaller/Ruby1.9.2/bin/rake:19:in `load'
  W:/RailsInstaller/Ruby1.9.2/bin/rake:19:in `<main>'
  I tried "gem install execjs" and "therubyracer". No change. I tried
reinstalling Ruby, then Rails. No change. I tried adding them to my
Gemfile and bundle install but it fails at "therubyracer" What could I
have possibly done? Is it really as fragile as it seems or did I just
make a terrible mistake?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Craig White at Dec 9, 2011 at 3:05 am

    On Tue, 2011-12-06 at 20:28 -0800, Mark Boughter wrote:
    I'm new so I just can't figure out what's going on here. I was going
    through a tutorial to learn the ins and outs of Rails and then it just
    stopped working.

    I'm running RubyMine on Windows for now. Here are the errors:
    [rake --tasks] rake aborted!
    Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs
    for a list of available runtimes.
    <<<snip>>>
    I tried "gem install execjs" and "therubyracer". No change. I tried
    reinstalling Ruby, then Rails. No change. I tried adding them to my
    Gemfile and bundle install but it fails at "therubyracer" What could I
    have possibly done? Is it really as fragile as it seems or did I just
    make a terrible mistake?
    ----
    Google is your friend

    http://stackoverflow.com/questions/6282307/rails-3-1-execjs-and-could-not-find-a-javascript-runtime

    Craig



    --
    This message has been scanned for viruses and
    dangerous content by MailScanner, and is
    believed to be clean.

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Mark Boughter at Dec 9, 2011 at 4:22 am
    Yeah, I googled it and came across that link before posting. I thought
    that would be obvious.
    Gemfile and bundle install but it fails at "therubyracer"

    It seems that after giving up and rebooting the next day the problem was
    alleviated. What's google say now?

    --
    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/-/EInU3_RY0WIJ.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    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.
  • Craig White at Dec 9, 2011 at 4:29 pm

    On Dec 8, 2011, at 9:21 PM, Mark Boughter wrote:

    Yeah, I googled it and came across that link before posting. I thought that would be obvious.
    Gemfile and bundle install but it fails at "therubyracer"

    It seems that after giving up and rebooting the next day the problem was alleviated. What's google say now?
    ----
    sounds as if you had the server running in one terminal and you were updating in another terminal. If you install things such as gems, the server needs to be restarted, even if you are in development mode.

    Craig

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Wayne Mr. at Sep 25, 2015 at 6:54 pm
    I had the same problem I am using Rails 4.2.3 and ruby 2.1.2. I found
    that therubyracer gem install install "V8" The version of V8 was not
    compatible with my gcc version 4.2. I had to use an older gem (0.11.0)
    to get it to bundle properly.

    --
    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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fe21a92c1ca71f33741ece1d15acd4d3%40ruby-forum.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedDec 7, '11 at 9:56a
activeSep 25, '15 at 6:54p
posts5
users4
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase