mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
As per best practices, removed duplication between the Gemfile and gemspec. There was also some seemingly superfluous install in the Gemfile. Ordered the dependency by alphabetical order. Tested locally by deleting the .bundle and recreating successfully
13 lines
336 B
Ruby
13 lines
336 B
Ruby
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
|
|
gemspec
|
|
|
|
# Evaluate Gemfile.local if it exists
|
|
if File.exists? "#{__FILE__}.local"
|
|
instance_eval(File.read("#{__FILE__}.local"))
|
|
end
|
|
|
|
# Evaluate ~/.gemfile if it exists
|
|
if File.exists?(File.join(Dir.home, '.gemfile'))
|
|
instance_eval(File.read(File.join(Dir.home, '.gemfile')))
|
|
end
|