Skip to content

Commit f09c6d0

Browse files
committed
Better development environment management
1 parent 51dc5c9 commit f09c6d0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 2.7.5

script/ci

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,16 @@ run_all() {
5454

5555
for gemfile in $gemfiles; do
5656
echo
57-
pretty_echo "Testing with $gemfile"
58-
pretty_run bundle install --gemfile $gemfile --path $bundle_path --binstubs $bin_path
57+
BUNDLE_GEMFILE=$gemfile
58+
pretty_echo "Testing with $BUNDLE_GEMFILE"
59+
pretty_run bundle install --path $bundle_path --binstubs $bin_path
5960
pretty_run bundle exec rake spec
6061
done
6162

6263
echo
64+
unset BUNDLE_GEMFILE
6365
pretty_echo "Testing with default Gemfile"
64-
pretty_run bundle install --gemfile Gemfile --path $bundle_path --binstubs $bin_path
66+
pretty_run bundle install --path $bundle_path --binstubs $bin_path
6567
pretty_run bundle exec rake spec
6668
}
6769

0 commit comments

Comments
 (0)