... 12 13 14 15 16 17 18 ... 27 28 29 30 31 32 33 |
... 12 13 14 15 16 17 18 ... 27 28 29 30 31 32 33 |
0 - :env => 'development', 0 + :environment => 'development', 0 @@ -27,7 +27,7 @@ opts = OptionParser.new do |opts| 0 # opts.on("-s", "--socket SOCKET", "listen on socket") { |socket| options[:socket] = socket } 0 opts.on("-p", "--port PORT", "use PORT (default: 3000)") { |port| options[:port] = port } 0 - opts.on("-e", "--env ENV", "Rails environment (default: development)") { |env| options[:env] = env } 0 + opts.on("-e", "--env ENV", "Rails environment (default: development)") { |env| options[:environment] = env } 0 opts.on("-c", "--chdir PATH", "Rails root dir (default: current dir)") { |dir| options[:root] = dir } 0 opts.on("-d", "--daemonize", "Daemonize") { options[:daemonize] = true } 0 opts.on("-l", "--log-file FILE", "File to redirect output") { |file| options[:log_file] = file }
|
Comments
No one has commented yet.