diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2015-11-20 12:44:27 -0800 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2015-11-20 12:44:27 -0800 |
commit | ef0c13b1afdd5fd339083015d387d669acd67066 (patch) | |
tree | 657bac1aaba9ae858ff58deb3edcef87349deff4 | |
parent | 0d2020001d9c3cad8730e8cb1d585aefdad766a1 (diff) | |
parent | c43924682a9078d90eafcac87f1fbf3f2c34b382 (diff) | |
download | puppet-stdlib-ef0c13b1afdd5fd339083015d387d669acd67066.tar.gz puppet-stdlib-ef0c13b1afdd5fd339083015d387d669acd67066.tar.bz2 |
Merge pull request #548 from bmjen/ruby187
Fix Gemfile to work with ruby 1.8.7
-rw-r--r-- | Gemfile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |