1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/tools/vagrant/use-system-bundler-version.patch
Aneesh Agrawal 2ed25d3768 vagrant: mark bundler as system plugin
This will cause Vagrant to use the rubygems version of bundler
without complaint.
2018-08-27 22:57:19 -07:00

14 lines
475 B
Diff

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