Skip to content

Commit

Permalink
Specify the build command
Browse files Browse the repository at this point in the history
Travis defaults to just running `rake` but on newer ruby versions on
Travis, rake v. 12 is already installed which results in
```
Gem::LoadError: You have already activated rake 12.0.0, but your Gemfile requires rake 10.5.0. Prepending `bundle exec` to your command may solve this.
```
  • Loading branch information
jgrau committed Apr 28, 2017
1 parent 061eccf commit 987cb57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ before_script:
- bundle exec rails g impressionist -f
- bundle exec rake db:create db:migrate RAILS_ENV=test
- cd ..
script:
- bundle exec rake
rvm:
- 1.9.3
- 2.0.0
Expand Down

0 comments on commit 987cb57

Please sign in to comment.