Merge pull request #548 from bmjen/ruby187
Fix Gemfile to work with ruby 1.8.7
This commit is contained in:
commit
ef0c13b1af
1 changed files with 7 additions and 1 deletions
8
Gemfile
8
Gemfile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue