File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ inherit_gem:
1010
1111AllCops :
1212 NewCops : enable
13+ SuggestExtensions :
14+ rubocop-rails : false
1315 Exclude :
1416 - node_modules/**/*
1517 - public/**/*
Original file line number Diff line number Diff line change 3535
3636# Only recreate the app if FORCE_RECREATE is set or the app doesn't exist
3737if [ " $FORCE_RECREATE " = " true" ] && [ -d " $TEST_APP_DIR " ]; then
38- echo " Force recreating test app... "
38+ echo " Removing existing test app: $TEST_APP_DIR "
3939 rm -rf " $TEST_APP_DIR "
4040fi
4141
Original file line number Diff line number Diff line change 4242require "fileutils"
4343require "rails/version"
4444require "erb"
45+ require "sorbet-runtime"
4546
4647# Path constants
4748ROOT_DIR = File . expand_path ( ".." , __dir__ )
6364skip_app_creation = ENV [ "SKIP_APP_CREATION" ] == "true"
6465
6566# Extract major and minor version for migrations and load_defaults
66- @rails_major_minor = rails_version . split ( "." ) [ 0 ..1 ] . join ( "." )
67+ @rails_major_minor = T . must ( rails_version . split ( "." ) [ 0 ..1 ] ) . join ( "." )
6768
6869# Create directories
6970FileUtils . mkdir_p ( RAILS_APP_DIR )
@@ -178,11 +179,11 @@ def copy_template(file, target_path = nil)
178179 copy_template ( relative_path )
179180end
180181
181- # Run bundle install again to ensure all dependencies are correctly resolved
182- puts "Running final bundle install..."
183- Dir . chdir ( RAILS_APP_DIR ) do
184- system ( clean_env , "bundle install" ) || abort ( "Bundle install failed" )
185- end
182+ # # Run bundle install again to ensure all dependencies are correctly resolved
183+ # puts "Running final bundle install..."
184+ # Dir.chdir(RAILS_APP_DIR) do
185+ # system(clean_env, "bundle install") || abort("Bundle install failed")
186+ # end
186187
187188# Set up the database
188189puts "Setting up Rails application in #{ RAILS_APP_DIR } ..."
You can’t perform that action at this time.
0 commit comments