I upgraded a Rails 3.0 app to Rails 3.1 which involved putting this
/*
*= require_self
*= require_tree .
*/
in the application.css file. Howeve
You can use the stub sprockets' directive in your manifest like this :
/*
*= require_self
*= require_tree .
*= stub admin
*/
This will exclude admin.css and also ALL css required in it !!
So, if your admin.css's manifest seems like this :
/*
*= require bootstrap
*= require_self
*/
the bootstrap.css will also be excludes and no require could fixe this ! Take care of this ;)