开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜