I have created a gem with a vendor directory containing stylesheets and javascripts from bootstrap-sass and bootstrap itself.
The directory structure is bootstrap-sa
The problem was with my require_paths variable. The correct setting should have been:
s.require_paths = ["lib"]
i think the asset pipeline expects your files to be named like bootstrap.css.scss
. and I'm not sure, but maybe you need to define a railtie for your gem for rails to find the vendored stylesheets
I had the same problem, I solved it adding a dummy engine. This way in rails 3.1 the assets path was added automatically to Rails.application.config.assets.paths.
Since Rails 3.0, if you want a gem to automatically behave as an engine, you have to specify an Engine for it somewhere inside your plugin’s lib folder.