Search code examples
ruby-on-railssprocketsjquery-file-upload

Rails jquery-fileupload gem - couldn't find file error


I'm trying to follow the Railscasts episode on jQuery-FileUpload. I've added

gem 'jquery-fileupload-rails' 

to the assets group of the Gemfile, and also added the

//= require jquery-fileupload/basic

line to the application.js file in the asset directory. When I try to bring up the website, however, the following error is shown:

couldn't find file 'jquery-fileupload'
  (in root/app/assets/javascripts/application.js:15)

Any help would be greatly appreciated.


Solution

  • I found a "solution" - restarting rails server did the trick.