diff options
Diffstat (limited to 'railties/lib/generator/generators/app.rb')
-rw-r--r-- | railties/lib/generator/generators/app.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/railties/lib/generator/generators/app.rb b/railties/lib/generator/generators/app.rb index 86e662d27c..101727de7a 100644 --- a/railties/lib/generator/generators/app.rb +++ b/railties/lib/generator/generators/app.rb @@ -185,12 +185,8 @@ module Rails::Generators ActiveSupport::SecureRandom.hex(64) end - def freeze - options[:freeze] - end - def shebang - options[:ruby] || "#!/usr/bin/env ruby" + "#!#{options[:ruby] || "/usr/bin/env ruby"}" end def mysql_socket |