Merge pull request #45693 from aneeshusa/mark-bundler-as-system-plugin-for-vagrant

vagrant: mark bundler as system plugin
This commit is contained in:
Jörg Thalheim 2018-08-28 08:41:06 +01:00 committed by GitHub
commit 849fb28cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -38,6 +38,7 @@ in buildRubyGem rec {
patches = [
./unofficial-installation-nowarn.patch
./use-system-bundler-version.patch
];
# PATH additions:

View File

@ -0,0 +1,13 @@
diff --git i/lib/vagrant/bundler.rb w/lib/vagrant/bundler.rb
index 301e40e37..e361ab510 100644
--- i/lib/vagrant/bundler.rb
+++ w/lib/vagrant/bundler.rb
@@ -217,7 +217,7 @@ module Vagrant
source_list = {}
system_plugins = plugins.map do |plugin_name, plugin_info|
plugin_name if plugin_info["system"]
- end.compact
+ end.compact << "bundler"
installer_set = VagrantSet.new(:both)
installer_set.system_plugins = system_plugins