I searched everywhere to understand this problem. I already downgraded gem jquery-rails to 2.3.0 in my gemfile. But when I include jquery-ui in application.js, I still get the Sprokets :: FileNotFound error.
couldn't find file 'jquery-ui' (in /home/richard/projects/pickaxe/mini-projects/depot-app/app/assets/javascripts/application.js:14)
This is my application.js file:
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // //= require jquery //= require jquery-ui //= require jquery_ujs //= require_tree .
I am dying to find out why this does not work ...
jquery ruby jquery-ui ruby-on-rails gemfile
Senjai Jun 08 '13 at 5:56 on 2013-06-08 05:56
source share