Sprockets File not Found Exception.

Hi Everyone,

    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:

It is because of Jquery file not founded error

If you are using rails 3.1.X

then in app/assets/javascripts/application.js
remove lines

//= require jquery
//= require jquery_ujs

otherwise if u want to use jquery just copy
jquery.js and jqueryui.js in


Thanks for the reply. I am using 3.1.3. And from where do i get those
file? Does the additions need a restart of the WebRick server?

Oh well.... Copied them from the


folder and it worked! Thanks!

just download from googling.

no need of restarting server
just reload browser