jedi4ever/logstash-cli — pull request #5 by erikh (2012-08-10 17:13:27+00:00)
Title: remove bundler/setup from cli.rb

Hey Patrick,

I've got another fix for you. If you run logstash-cli anywhere that has a Gemfile, requires break if they don't exist in that gemfile, e.g. for a rails app that doesn't have `amqp` in the Gemfile.

The solution here is to remove the 'bundler/setup' require which then relies on rubygems to do the resolution, which is the ideal for gem-based installations. This shouldn't break 'bundle exec logstash-cli' for development, but please let me know if it does and I will send you more patches.

If you find this patch satisfactory, and don't mind cutting another release, I would really appreciate it.