Skip to content

Commit

Permalink
Merge pull request #5991 from solidusio/backport/v4.1/pr-5551
Browse files Browse the repository at this point in the history
[v4.1] Generate the sandbox using the version of Rails coming from the Gemfile
  • Loading branch information
tvdeyen authored Dec 3, 2024
2 parents a550e6d + c731420 commit 9b23bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/sandbox
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ echo "~~~> Removing the old sandbox"
rm -rf ./sandbox

echo "~~~> Creating a pristine Rails app"
rails new sandbox \
rails_version=`bundle exec ruby -e'require "rails"; puts Rails.version'`
rails _${rails_version}_ new sandbox \
--database="$RAILSDB" \
--skip-git \
--skip-keeps \
Expand Down

0 comments on commit 9b23bf6

Please sign in to comment.