Don't splat the bundler groups

This commit is contained in:
Mitchell Hashimoto 2014-03-09 22:41:51 -07:00
parent 641bfd0ee6
commit c391d2d46b
1 changed files with 1 additions and 2 deletions

View File

@ -58,8 +58,7 @@ end
# then also initialize the paths to the plugins. # then also initialize the paths to the plugins.
require "bundler" require "bundler"
begin begin
groups = [:default, :plugins] Bundler.setup(:default, :plugins)
Bundler.setup(*groups)
rescue Bundler::VersionConflict => e rescue Bundler::VersionConflict => e
$stderr.puts "Vagrant experienced a version conflict with some installed plugins!" $stderr.puts "Vagrant experienced a version conflict with some installed plugins!"
$stderr.puts "If you recently upgraded Vagrant, the recommended way to fix this is" $stderr.puts "If you recently upgraded Vagrant, the recommended way to fix this is"