Created
October 19, 2014 03:44
-
-
Save randika/26368194b924a8e0d880 to your computer and use it in GitHub Desktop.
Fix Couldn't find file 'jquery-ui' with rails 4 app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
gem 'jquery-ui-rails' | |
$ bundle update jquery-ui-rails | |
Installing jquery-ui-rails 5.0.2 (was 4.2.1) | |
# application.js | |
//= require jquery | |
//= require jquery-ui | |
//= require jquery_ujs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case if you have lesser version of jquery-ui-rails than 5.0 we need to write below format
application.js:
//= require jquery.ui.all