Skip to content

Commit 85eed5c

Browse files
committed
Pass all arguments to rails new
This allows passing of options like: bin/rails-new --main -d postgresql helloworld
1 parent 542f3fb commit 85eed5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/rails-new

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ docker build \
1717
-t rails-new-$RUBY_VERSION-$RAILS_VERSION .
1818

1919
# Run the image
20-
docker run -v $(pwd):/$(pwd) -w $(pwd) rails-new-$RUBY_VERSION-$RAILS_VERSION rails new $1
20+
docker run -v $(pwd):/$(pwd) -w $(pwd) rails-new-$RUBY_VERSION-$RAILS_VERSION rails new $@

0 commit comments

Comments
 (0)