Skip to content

Commit a85e0be

Browse files
authored
Merge pull request #6133 from blish/fix-sandbox-rails8
Fix sandbox command for Rails 8
2 parents bae3c67 + a7f0011 commit a85e0be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/sandbox

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ function unbundled {
4040
echo "~~~> Removing the old sandbox"
4141
rm -rf ./sandbox
4242

43+
mkdir -p sandbox/app/assets/config
44+
cat <<MANIFEST > sandbox/app/assets/config/manifest.js
45+
//= link_tree ../images
46+
//= link_directory ../javascripts .js
47+
//= link_directory ../stylesheets .css
48+
MANIFEST
49+
4350
echo "~~~> Creating a pristine Rails app"
4451
rails_version=`bundle exec ruby -e'require "rails"; puts Rails.version'`
4552
bundle exec rails _${rails_version}_ new sandbox \

0 commit comments

Comments
 (0)