Skip to content

Commit 187fded

Browse files
committed
update bin/drspec to use bundle exec
fixes errors such as: You have already activated activesupport 7.1.5.1, but your Gemfile requires activesupport 7.0.8.1. Prepending `bundle exec` to your command may solve this. this can occur when switching between branches that uses different Rails versions. e.g. switching between the branch used for the 7.1 upgrade and a branch that was still on 7.0.
1 parent 1d0c298 commit 187fded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/drspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
set -e
44

5-
docker compose exec web rspec $@
5+
docker compose exec web bundle exec rspec $@

0 commit comments

Comments
 (0)