EDIT
This question should be: Why does rails_admin rake asset:precompilefail?
I upgrade from Rails 3.0 to 3.1 and enable the asset pipeline. Somewhere along the way, rails_admin interrupted my activation before compilation:
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
Undefined variable: "$red".
(in /tmp/build_zkm1tzzdhdh6/vendor/bundle/ruby/1.9.1/bundler/gems/rails_admin-a887eee6e916/app/assets/stylesheets/rails_admin/base/theming.css.scss)
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
Precompiling assets failed, enabling runtime asset compilation
Injecting rails31_enable_runtime_asset_compilation
Please see this article for troubleshooting help:
http:
What's going on here? $reddefined (in another rails_admin.css file). So why can’t theming.css.scssyou access it? How can I avoid this?
source
share