title: Local rails instance errors on turbolinks call
body: <p>I have just set up a new Rails 4 instance and scaffolded out a user class.</p>
  
  <p>Whenever I try and navigate to any of the scaffolded pages, I get an internal 500 error:</p>
  
  <pre><code>Started GET "/users" for 127.0.0.1 at 2013-08-11 18:57:28 +1000
  Processing by UsersController#index as HTML
    User Load (0.0ms)  SELECT "users".* FROM "users"
    Rendered users/index.html.erb within layouts/application (2.0ms)
  Completed 500 Internal Server Error in 1585ms
  
  ActionView::Template::Error (
    (in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/turbolinks-1.3.0/lib/assets/javascripts/turbolinks.js.coffee)):
      3: &lt;head&gt;
      4:   &lt;title&gt;GlueFactory&lt;/title&gt;
      5:   &lt;%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" =&gt; true %&gt;
      6:   &lt;%= javascript_include_tag "application", "data-turbolinks-track" =&gt; true %&gt;
      7:   &lt;%= csrf_meta_tags %&gt;
      8: &lt;/head&gt;
      9: &lt;body&gt;
    app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___1232737741_41577300'
  </code></pre>
  
  <p>I have the turbolinks 1.3.0 gem installed. If I remove the line &lt;%= javascript_include_tag "application", "data-turbolinks-track" => true %> from application.html.erb as indicated by the stack trace, it works OK.</p>
  
  <p>I figure this must be an issue with my gem environment as I have uploaded this to Heroku and it runs OK from there with the turbolinks line included.</p>
  
  <p>bundle show:</p>
  
  <ul>
  <li>actionmailer (4.0.0)</li>
  <li>actionpack (4.0.0)</li>
  <li>activemodel (4.0.0)</li>
  <li>activerecord (4.0.0)</li>
  <li>activerecord-deprecated_finders (1.0.3)</li>
  <li>activesupport (4.0.0)</li>
  <li>arel (4.0.0)</li>
  <li>atomic (1.1.12)</li>
  <li>builder (3.1.4)</li>
  <li>bundler (1.3.5)</li>
  <li>coffee-rails (4.0.0)</li>
  <li>coffee-script (2.2.0)</li>
  <li>coffee-script-source (1.6.3)</li>
  <li>erubis (2.7.0)</li>
  <li>execjs (1.4.0)</li>
  <li>hike (1.2.3)</li>
  <li>i18n (0.6.4)</li>
  <li>jbuilder (1.5.0)</li>
  <li>jquery-rails (3.0.4)</li>
  <li>json (1.8.0)</li>
  <li>mail (2.5.4)</li>
  <li>mime-types (1.23)</li>
  <li>minitest (4.7.5)</li>
  <li>multi_json (1.7.8)</li>
  <li>pg (0.16.0)</li>
  <li>polyglot (0.3.3)</li>
  <li>rack (1.5.2)</li>
  <li>rack-test (0.6.2)</li>
  <li>rails (4.0.0)</li>
  <li>railties (4.0.0)</li>
  <li>rake (10.1.0)</li>
  <li>rdoc (3.12.2)</li>
  <li>sass (3.2.10)</li>
  <li>sass-rails (4.0.0)</li>
  <li>sdoc (0.3.20)</li>
  <li>sprockets (2.10.0)</li>
  <li>sprockets-rails (2.0.0)</li>
  <li>thor (0.18.1)</li>
  <li>thread_safe (0.1.2)</li>
  <li>tilt (1.4.1)</li>
  <li>treetop (1.4.14)</li>
  <li>turbolinks (1.3.0)</li>
  <li>tzinfo (0.3.37)</li>
  <li>uglifier (2.1.2)</li>
  </ul>