From 688591fc29be7e4d96eb42a17d7888e6128cbb62 Mon Sep 17 00:00:00 2001 From: Jerome Lacoste Date: Wed, 8 Jun 2022 19:59:46 +0200 Subject: [PATCH] Run rspec within bundle exec --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index d4cd8fae..4055959d 100644 --- a/Rakefile +++ b/Rakefile @@ -184,7 +184,7 @@ task bump: 'ensure_git_clean' do UI.user_error! "Bump version stopped by user" unless UI.confirm("Next version will be #{nextversion}. Confirm?") U3dCode.version = nextversion GithubChangelogGenerator.future_release = nextversion - sh 'rspec' + sh 'bundle exec rspec' sh 'git add .github_changelog_generator lib/u3d/version.rb Gemfile.lock' sh "git commit -m 'Bump version to #{nextversion}'" sh 'git push'