aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/runner.rb')
-rw-r--r--railties/lib/commands/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/runner.rb b/railties/lib/commands/runner.rb
index f4d70f1541..47186d52e4 100644
--- a/railties/lib/commands/runner.rb
+++ b/railties/lib/commands/runner.rb
@@ -10,7 +10,7 @@ ARGV.options do |opts|
opts.on("-e", "--environment=name", String,
"Specifies the environment for the runner to operate under (test/development/production).",
- "Default: development") { |options[:environment]| }
+ "Default: development") { |v| options[:environment] = v }
opts.separator ""