title: Sprockets File not Found Exception
body: <p>I was trying out some sample applications for Rails. I created some
  controllers and pages. But when i try to access one of them i get an
  exception on the webpage:</p>
  
  <hr>
  
  <pre><code>Sprockets::FileNotFound in Pages#home
  Showing c:/railscode/test_app/app/views/layouts/application.html.erb
  where line #6 raised:
  
  couldn't find file 'jquery'
    (in c:/railscode/test_app/app/assets/javascripts/application.js:7)
  Extracted source (around line #6):
  
      3: &lt;head&gt; 
      4:   &lt;title&gt;TestApp&lt;/title&gt; 
      5:   &lt;%= stylesheet_link_tag    "application" %&gt; 
      6:   &lt;%= javascript_include_tag "application" %&gt; 
      7:   &lt;%= csrf_meta_tags %&gt; 8: &lt;/head&gt; 9: &lt;body&gt;
  
  Rails.root:`c:/railscode/test_app`
  </code></pre>
  
  <hr>
  
  <p>I created some controllers using the command:</p>
  
  <pre><code>$ rails generate controller Pages home contact
  
    create  app/controllers/pages_controller.rb
     route  get "pages/contact"
     route  get "pages/home"
    invoke  erb
    create    app/views/pages
    create    app/views/pages/home.html.erb
    create    app/views/pages/contact.html.erb
    invoke  rspec
    create    spec/controllers/pages_controller_spec.rb
    create    spec/views/pages
    create    spec/views/pages/home.html.erb_spec.rb
    create    spec/views/pages/contact.html.erb_spec.rb
    invoke  helper
    create    app/helpers/pages_helper.rb
    invoke  rspec
    create     spec/helpers/pages_helper_spec.rb
    invoke  assets
    invoke    js
    create      app/assets/javascripts/pages.js
    invoke    css
    create      app/assets/stylesheets/pages.css
  </code></pre>
  
  <p>Just wanted to know where the problem could be and where to look? I am
  accessing the page by the URL: <a href="http://localhost:3000/pages/home" rel="nofollow noreferrer">http://localhost:3000/pages/home</a></p>