mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2e6dae1a26
In #38495, `ARGV` was isolated to prevent commands from depending on its contents, which might be indeterminate. However, app templates may depend on `ARGV`, so populate it before evaluating them. Fixes #40945.
4 lines
92 B
Ruby
4 lines
92 B
Ruby
# frozen_string_literal: true
|
|
|
|
say "It works from file!"
|
|
say "With ARGV! #{ARGV.join(" ")}"
|