mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
bundler refactor leftover
This commit is contained in:
parent
2280a3aa7d
commit
2f2fe21b78
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
@ -31,7 +31,7 @@ class LogStash::PluginManager::Uninstall < LogStash::PluginManager::Command
|
|||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue