Skip to content

Commit

Permalink
bundler refactor leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsurprenant committed Apr 21, 2015
1 parent 5014c5c commit 902c2f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/logstash/pluginmanager/uninstall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LogStash::PluginManager::Uninstall < LogStash::PluginManager::Command
parameter "PLUGIN", "plugin name"

def execute
LogStash::Environment.bundler_setup!
LogStash::Bundler.setup!

signal_error("File #{LogStash::Environment::GEMFILE_PATH} does not exist or is not writable, aborting") unless File.writable?(LogStash::Environment::GEMFILE_PATH)

Expand All @@ -31,7 +31,7 @@ def execute
# any errors will be logged to $stderr by invoke_bundler!
# output, exception = LogStash::Bundler.invoke_bundler!(:install => true, :clean => true)
output = LogStash::Bundler.invoke_bundler!(:install => true)

remove_unused_locally_installed_gems!
end
rescue => exception
Expand Down

0 comments on commit 902c2f4

Please sign in to comment.