Skip to content

Commit

Permalink
Pin rake version to avoid rubocop/rake 11 incompatibility
Browse files Browse the repository at this point in the history
All tests are failing with:

https://travis-ci.org/voxpupuli/puppet-corosync/jobs/114738369

```
$ bundle exec rake $CHECK
rake aborted!
NoMethodError: undefined method `last_comment' for #<Rake::Application:0x000000021df220>
/home/travis/build/voxpupuli/puppet-corosync/vendor/bundle/ruby/2.2.0/gems/rubocop-0.37.2/lib/rubocop/rake_task.rb:24:in `initialize'
/home/travis/build/voxpupuli/puppet-corosync/Rakefile:9:in `new'
/home/travis/build/voxpupuli/puppet-corosync/Rakefile:9:in `<top (required)>'
(See full trace by running task with --trace)
```

Once rubocop/rubocop#2931 is released then rubocop can be updated and
the pinning removed.

Thanks to theforeman/foreman#3298 for the pointer
  • Loading branch information
roidelapluie committed Mar 9, 2016
1 parent e0c03eb commit 35e24d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gemfile:
required:
':test':
- gem: rake
version: '< 11'
- gem: rspec-puppet
git: https://github.com/rodjek/rspec-puppet.git
- gem: puppet-lint
Expand Down

0 comments on commit 35e24d1

Please sign in to comment.