开发者

Is it safe to ignore the "Has no specification file" warnings

开发者 https://www.devze.com 2022-12-19 02:39 出处:网络
I recently ported my gem management to bundler, to get my app to play nice with heroku.Upon doing so I started to see the following errors (though my app is running fine):

I recently ported my gem management to bundler, to get my app to play nice with heroku. Upon doing so I started to see the following errors (though my app is running fine):

config.gem: Unpacked gem environment.rb in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem environment.rb in vendor/gems not in a versioned directory. Giving up.
config.gem: Unpacked gem ruby in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem ruby in vendor/gems not in a versioned开发者_如何学C directory. Giving up.

I have seen posts, saying that I can ignore them: http://gilesbowkett.blogspot.com/2009/03/configgem-unpacked-gem-whatever-in.html

Is that really the case, can I safely ignore these warnings?


If you're using Rails you should use something like:

bundle_path 'vendor/bundler_gems'

Rails 2.x expects the gems in its vendor/gems dir to have .specification files in them because that's where it stores its unpacked gems.

0

精彩评论

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