Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensure 16b3d2b works with Ruby 1.9

  • Loading branch information...
commit 2686286a702e910b7fef520d901d6e95c1f4bd4b 1 parent 16b3d2b
@lifo lifo authored
View
2  railties/lib/rails_generator/generators/applications/app/template_runner.rb
@@ -111,7 +111,7 @@ def environment(data = nil, options = {}, &block)
"#{match}\n " << data
end
else
- options[:env].to_a.each do|env|
+ Array(options[:env]).each do|env|
append_file "config/environments/#{env}.rb", "\n#{data}"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.