Skip to content

Instantly share code, notes, and snippets.

@randika
Created October 19, 2014 03:44
Show Gist options
  • Save randika/26368194b924a8e0d880 to your computer and use it in GitHub Desktop.
Save randika/26368194b924a8e0d880 to your computer and use it in GitHub Desktop.
Fix Couldn't find file 'jquery-ui' with rails 4 app
# 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
@randika
Copy link
Author

randika commented Oct 19, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment