Rails not loading bundled asset_packager gem
I'm using bundler in a Rails 2.3.10 app to manage my gems. One of the gems that I'm using is asset_packager (~> 0.2.0).
However, I'm getting a bunch of undefined method 'stylesheet_link_merged'
errors in my tests, which would suggest that the asset_packager gem is not being loaded.
Similarly, the asset_packager Rake tasks do not ap开发者_StackOverflow中文版pear when I run rake -T
.
This doesn't seem to be a problem with any of the other gems that I've listed in my Gemfile.
Any thoughts?
Installing asset_packager as plugin inside the app solved for me.
ruby script/plugin install git://github.com/sbecker/asset_packager.git
精彩评论