ry / ebb fork watch download tarball
public this repo is viewable by everyone
Description: web server
Homepage: http://ebb.rubyforge.org
Clone URL: git://github.com/ry/ebb.git
fix -e option
Ryan Dahl (author)
2 months ago
commit  98ceeb9fbacb61dd7dc61847d4c88f97420cddef
tree    33d03bcb259cb7e0e1391229186e5a6fd33b6ce3
parent  7d7ff9e6fcf49143929461fe0cb79ce98bd9b42b
...
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
@@ -12,7 +12,7 @@ end
0
 
0
 options = {
0
   :root => Dir.pwd,
0
- :env => 'development',
0
+ :environment => 'development',
0
   :hort => '0.0.0.0',
0
   :port => 3000,
0
   :timeout => 60
0
@@ -27,7 +27,7 @@ opts = OptionParser.new do |opts|
0
 
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.