Skip to content

Commit

Permalink
Fix Gemfile to work with ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bmjen committed Nov 20, 2015
1 parent 8ae775f commit 608801c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Gemfile
Expand Up @@ -11,7 +11,13 @@ def location_for(place, fake_version = nil)
end

group :development, :unit_tests do
gem 'rspec-core', '3.1.7', :require => false
# 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-core', '3.1.7', :require => false
end

gem 'puppetlabs_spec_helper', :require => false
gem 'simplecov', :require => false
gem 'json', :require => false
Expand Down

0 comments on commit 608801c

Please sign in to comment.