title: Rails-4, ExecJS::ProgramError in Pages#welcome
body: <p>I am trying to add login-logout functionality to my rails app. For that I added <code>bcrypt</code> gem for password encryption and also access controller. Now when I run it locally, I get an error message. My app was running fine before adding the above functionality.</p>
  
  <p>Error Message:</p>
  
  <pre><code>TypeError: Object doesn't support this property or method
  (in C:/DevKit/lib/ruby/gems/1.9.1/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee)
  
  Extracted source (around line #8):
  
  &lt;head&gt;
    &lt;title&gt;PostApp&lt;/title&gt;
    &lt;%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track'=&gt;true %&gt;
      &lt;%= javascript_include_tag 'application', 'data-turbolinks-track'=&gt;true %&gt;  ----&gt; Line 8
  
        &lt;link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"&gt;
        &lt;%= csrf_meta_tags %&gt;
  </code></pre>
  
  
  
  <p>Gemfile:</p>
  
  
  
  <pre class="lang-html prettyprint-override"><code>source 'http://rubygems.org'
  
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  gem 'rails', '4.1.4'
  # Use sqlite3 as the database for Active Record
  group :development do
    gem 'sqlite3' 
  end
  group :production do
    gem 'pg'
  end
  # Use SCSS for stylesheets
  gem 'sass-rails', '~&gt; 4.0.3'
  # Use Uglifier as compressor for JavaScript assets
  gem 'uglifier', '&gt;= 1.3.0'
  # Use CoffeeScript for .js.coffee assets and views
  gem 'coffee-rails', '~&gt; 4.0.0'
  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', platforms: :ruby
  
  # Use jquery as the JavaScript library
  gem 'jquery-rails'
  # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
  gem 'turbolinks'
  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  gem 'jbuilder', '~&gt; 2.0'
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', '~&gt; 0.4.0', group: :doc
  
  # Use ActiveModel has_secure_password
  gem 'bcrypt', '~&gt; 3.1.7'
  </code></pre>
  
  <p>I don't know what kind of type error I am getting. Any idea what might be going on?</p>
  
  <p>Thanks,
  Chuchoo</p>