Gemfile 560 Bytes
Newer Older
mh's avatar
mh committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
source 'https://rubygems.org'

if ENV.key?('PUPPET_VERSION')
  puppetversion = "~> #{ENV['PUPPET_VERSION']}"
else
  puppetversion = ['>= 3.8.7']
end

if RUBY_VERSION == '1.8.7'
  # 4.0.0 requires 1.9.3
  puppetversion = ['~> 3.8.7']
  gem 'i18n', '~> 0.6.11'
  gem 'activesupport', '~> 3.2'
  gem 'librarian-puppet', '~> 1.0.0'
  gem 'highline', '~> 1.6.21'
  gem 'rake', '< 11'
  gem 'json', '< 2.0.2'
else
  gem 'rake'
  gem 'librarian-puppet', '>=0.9.10'
end
gem 'puppet',  puppetversion
gem 'puppet-lint', '>=0.3.2'
gem 'puppetlabs_spec_helper', '>=0.2.0'