Bundler installing development dependencies from installed gems

瀏覽次數:36 次
跳到第一則未讀訊息

pere....@elasticsearch.com

未讀,
2015年1月14日 清晨6:53:452015/1/14
收件者:ruby-b...@googlegroups.com
Good Morning,
   while using bundler at logstash [1], I got into a peculiar use case that raised a question on me, might be this is an expected behaviour, but would like to know if there is anything I can do to make what I expect happen.

So basically at logstash [1], we ask bundler to install a bunch of plugins (ruby gems) that basically extend and add functionality to the hole platform. Everything works good and as expected, but when we are in a development environment, I expected bundler to install also the development dependencies required by this plugins (gems).

At the end bundler is installing development dependencies but only for the first level of requirements (the once for the main project), not for installed gems.

As an example I tried to reproduce this behaviour here (https://github.com/purbon/playground/tree/master/purbon_playground), where bundler will install clamp, but not logstash-devutils, a development_dependency required by https://github.com/purbon/playground/blob/master/purbon_playground/Gemfile#L7.

Thanks a lot!,

- purbon

回覆所有人
回覆作者
轉寄
0 則新訊息