ActiveAdmin + jQuery-ui-rails 5.0.0 gem

I am trying to use an active admin gem, but when I ran the package, it said that I need jquery-ui-rails version 5.0.0, so I changed my gemfile to:

gem 'jquery-rails' gem 'jquery-ui-rails', '~> 5.0.0' gem 'activeadmin', github: 'gregbell/active_admin' 

After rebooting my server, I get this error in the browser

  File to import not found or unreadable: jquery.ui.all. Load paths: /.../.../.../.../app/assets/images /.../.../.../.../app/assets/javascripts /.../.../.../.../app/assets/stylesheets 
0
ruby-on-rails activeadmin
Jul 23 '14 at 5:22
source share
1 answer

jquery-ui-rails 5.0.0 renamed .js files used by ActiveAdmin.

Until Active Admin is updated, use version 4.2.1 in your gemfile and reinstall:

gem 'jquery-ui-rails', '~> 4.2.1'

Change This has just been fixed. If you need 4.2.1 , it will be broken, since active_admin refers to new paths. You must completely remove jquery-ui-rails from your Gemfile and run:

bundle update activeadmin if you require 4.2.1 before.

0
Jul 23 '14 at 19:31
source share



All Articles