From 85eed5c66d83368500586bfbed595a7f0e8d3baa Mon Sep 17 00:00:00 2001 From: Chris Oliver Date: Fri, 16 Feb 2024 12:46:54 -0600 Subject: [PATCH] Pass all arguments to rails new This allows passing of options like: bin/rails-new --main -d postgresql helloworld --- bin/rails-new | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rails-new b/bin/rails-new index bdc0b80..4780330 100755 --- a/bin/rails-new +++ b/bin/rails-new @@ -17,4 +17,4 @@ docker build \ -t rails-new-$RUBY_VERSION-$RAILS_VERSION . # Run the image -docker run -v $(pwd):/$(pwd) -w $(pwd) rails-new-$RUBY_VERSION-$RAILS_VERSION rails new $1 +docker run -v $(pwd):/$(pwd) -w $(pwd) rails-new-$RUBY_VERSION-$RAILS_VERSION rails new $@