Merge pull request #548 from bmjen/ruby187

Fix Gemfile to work with ruby 1.8.7
This commit is contained in:
Hunter Haugen 2015-11-20 12:44:27 -08:00
commit ef0c13b1af

View file

@ -11,8 +11,14 @@ def location_for(place, fake_version = nil)
end
group :development, :unit_tests do
# rspec must be v2 for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
gem 'rspec', '~> 2.0'
else
gem 'rspec', '~> 3.1.0', :require => false
end
gem 'rake', '~> 10.1.0', :require => false
gem 'rspec', '~> 3.1.0', :require => false
gem 'rspec-puppet', '~> 2.2', :require => false
gem 'mocha', :require => false
# keep for its rake task for now