Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Bundler config updates for Windows
Browse files Browse the repository at this point in the history
Add Windows path for embedded location.
Put vmware plugin in its own group so it can be ignored
  • Loading branch information
jtopper committed Sep 21, 2014
1 parent 32d4822 commit d7f9df3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ source "http://gems.hashicorp.com"

require 'fileutils'

embedded_locations = %w{/Applications/Vagrant/embedded /opt/vagrant/embedded}
embedded_locations = %w{/Applications/Vagrant/embedded /opt/vagrant/embedded C:\\HashiCorp\Vagrant\embedded}

embedded_locations.each do |p|
ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] = p if File.directory?(p)
if File.directory?(p)
ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] = p
end
end

unless ENV.has_key?('VAGRANT_INSTALLER_EMBEDDED_DIR')
Expand Down Expand Up @@ -55,7 +57,10 @@ group :development do

end

group :plugins do
group :vmware do
gem "vagrant-vmware-fusion"
end

group :plugins do
gem "vagrant-multiprovider-snap", path: "."
end

0 comments on commit d7f9df3

Please sign in to comment.