Skip to content

Update Rakefile to properly run specs#1700

Merged
0x1eef merged 1 commit intomasterfrom
use-bundle-exec-in-rakefile
Nov 14, 2017
Merged

Update Rakefile to properly run specs#1700
0x1eef merged 1 commit intomasterfrom
use-bundle-exec-in-rakefile

Conversation

@banister
Copy link
Copy Markdown
Member

Use bundle exec

@banister banister requested a review from 0x1eef November 13, 2017 23:10
Comment thread Rakefile
def run_specs paths
format = ENV['VERBOSE'] ? '--format documentation ' : ''
sh "rspec -w #{format}#{paths.join ' '}"
sh "bundle exec rspec #{format}#{paths.join ' '}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is removal of -w intentional?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output of the run is much less noisy:
https://travis-ci.org/pry/pry/jobs/301676683

@0x1eef 0x1eef merged commit a99861f into master Nov 14, 2017
@0x1eef 0x1eef deleted the use-bundle-exec-in-rakefile branch November 14, 2017 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants