This was asked several times, but I tried the proposed solutions, and they still did not help, so I ask a new question.
Gemfile
gem 'jquery-ui-rails'
As suggested, I placed my gem outside the group :assets
Application.css ~
*= require_self *= require jquery.ui *= require bootstrap-datepicker *= require jquery.timepicker *= require_tree . */
Rails Asset Pipeline loads assets based on the order in which they are listed. Here I have number 2 on the list.
Application.css.scss
*= require_self *= require fullcalendar *= require jquery.ui *= require fullcalendar_engine/application
application.js
//= require jquery //= require jquery.ui //= require jquery_ujs //= require wice_grid //= require turbolinks //= require fullcalendar
Again jquery.ui loads right after jquery .
I also ran the bundle list to make sure my gems were updated.
jquery-rails (3.1.2) jquery-ui-rails (5.0.3)
I am using updated versions of these gems. Also, I no longer print jquery.ui.all
It looks like I followed most of the suggestions from the previous answers, but to no avail.
source share