-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
30 lines (25 loc) · 960 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# frozen_string_literal: true
source 'https://rubygems.org'
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
# To make `$ bundle exec vagrant` works
embedded_directories = %w[/Applications/Vagrant/embedded /opt/vagrant/embedded]
embedded_directories.each do |path|
ENV['VAGRANT_INSTALLER_EMBEDDED_DIR'] = path if File.directory?(path)
end
unless ENV.key?('VAGRANT_INSTALLER_EMBEDDED_DIR')
$stderr.puts "Couldn't find a packaged install of vagrant, and we need this"
$stderr.puts 'in order to make use of the RubyEncoder libraries.'
$stderr.puts 'I looked in:'
embedded_directories.each do |path|
$stderr.puts " #{path}"
end
end
group :development do
# We depend on Vagrant for development, but we don't add it as a
# gem dependency because we expect to be installed within the
# Vagrant environment itself using `vagrant plugin`.
gem 'vagrant', github: 'hashicorp/vagrant'
end
group :plugins do
gemspec
end