Couldn't find file 'jquery.effects.core' when assets precompile #1471

alpracka opened this Issue Jan 10, 2013 · 7 comments

5 participants



I updated rails to 3.2.11 and other gems today. I can't figure out, why precompiling assets fail when deploying. The error output reports 'couldn't find file jquery.effects.core' targeting to rails_admin.js.erb however this file hasn't been changed since last time. So I'm trying here :-).

Below I've post first 6 line of the error output. Thanks for help.

/home/n1dev/.rvm/rubies/ruby-1.9.3-p327/bin/ruby /home/n1dev/.rvm/gems/ruby-1.9.3-p327/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
couldn't find file 'jquery.effects.core'
(in /home/n1dev/.rvm/gems/ruby-1.9.3-p327/bundler/gems/rails_admin-a55716d868a2/app/assets/javascripts/rails_admin/rails_admin.js.erb)
/home/n1dev/.rvm/gems/ruby-1.9.3-p327/gems/sprockets-2.2.2/lib/sprockets/context.rb:102:in `resolve'
/home/n1dev/.rvm/gems/ruby-1.9.3-p327/gems/sprockets-2.2.2/lib/sprockets/context.rb:142:in `require_asset'

@alpracka - perform "bundle update", update was released which fixes this issue


I'm having the same problem, but "bundle update" or even uninstalling then installing the rails_admin gem doesn't seem to solve it.


@vette982 is your version of installed rails_admin 0.4.1?


@khodzha Yep, it's 0.4.1. "bundle update" didn't fix the problem, but I solved the problem by manually making the following change to rails_admin.js.erb:
-- require_asset 'jquery.effects.core'
++ require_asset 'jquery.ui.effects'


It has been fixed here: 7abe9b2
Fix is in release 0.4.1 (I just checked to be sure)

@bbenezech bbenezech closed this Jan 15, 2013

Seems it is back in 0.4.3? Running into same issue now after upgrading from 0.3.0 to 0.4.3?!


ok, ignore please, had an old copy because of bootstrap conflict.

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