title: The system cannot find the path specified because of ExecJS::RuntimeError
body: <p>I'm running Windows 7 x64, Ruby on Rails 3.2.13 from RailsInstaller.</p>
  
  <p>When I run my thin server and reload the Local Host I run into this:</p>
  
  <pre><code>$ thin start
  &gt;&gt; Using rack adapter
  &gt;&gt; ......
  &gt;&gt; Listening on 0.0.0.0:3000, CTRL+C to stop
  The system cannot find the path specified.
  </code></pre>
  
  <p>This is because of the error:</p>
  
  <pre><code>ExecJS::RuntimeError at /
  
  ["ok","(function() {\n\n\n}).call(this);\n"] 
  (in C:/Users/..../assets/javascripts/info.js.coffee)
  </code></pre>
  
  <p><code>info.js.coffee</code> being an empty file and recent one I created from <code>rails g controller info</code>. In my browser with the better_errors gem, I see I have an error with the application layout on this line:</p>
  
  <pre><code>6   &lt;%= javascript_include_tag "application" %&gt;
  </code></pre>
  
  <p>I've been trying to correct this issue and did everything that was done in this <a href="https://stackoverflow.com/questions/12520456/execjsruntimeerror-on-windows-7-trying-to-follow-rubytutorial">question</a> yet none of it worked. I uninstall Node.js completely but then it won't even let me run the server since it tells me I need a javascript runtime script and the default Windows one doesn't work.</p>
  
  <p>Just now I tried to do <code>gem install coffee-rails</code> but run into this error:</p>
  
  <pre><code>gem install coffee-rails
  Temporarily enhancing PATH to include DevKit...
  Building native extensions.  This could take a while...
  The system cannot find the path specified.
  ERROR:  Error installing coffee-rails:
          ERROR: Failed to build gem native extension.
  
          c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
  creating Makefile
  </code></pre>
  
  <p>I think I'm on to something. Does anyone know how to install this? </p>
  
  <p><strong>EDITS</strong></p>
  
  <p>Gem File:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  gem 'rails', '3.2.13'
  gem 'jquery-rails'
  gem 'devise'
  gem 'execjs'
  
  group :assets do
    gem 'sass-rails',   '~&gt; 3.2.3'
    gem 'coffee-rails', '~&gt; 3.2.1'
    gem 'uglifier', '&gt;= 1.0.3'
  end
  
  group :development do
    gem 'sqlite3'
    gem 'better_errors'
    gem 'thin'
    gem 'eventmachine', '1.0.3'
  end
  
  group :test do
    gem 'factory_girl_rails'
    gem 'capybara'
    gem 'shoulda-matchers'
  end
  
  group :test, :development do
    gem 'rspec-rails'
  end
  </code></pre>