public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Make Merb.start default to the runner adapter

make the merb bin default to mongrel
ezmobius (author)
Tue Feb 26 12:50:01 -0800 2008
commit  40150311bd2d337eaab3c66ba2cea9bb680031ef
tree    524a24b3f44f82999be519451984e36634a97604
parent  e910f6b229a88fdeb2e930fda62be2f22ca5f2ff
...
1
2
 
 
 
 
 
3
...
1
2
3
4
5
6
7
8
0
@@ -1,3 +1,8 @@
0
 #!/usr/bin/env ruby
0
 require "merb-core"
0
+
0
+unless ARGV.index('-a')
0
+ ARGV << %w[-a mongrel]
0
+end
0
+
0
 Merb.start
...
13
14
15
16
 
17
18
19
...
13
14
15
 
16
17
18
19
0
@@ -13,7 +13,7 @@ module Merb
0
         @defaults ||= {
0
           :host => "0.0.0.0",
0
           :port => "4000",
0
- :adapter => "mongrel",
0
+ :adapter => "runner",
0
           :reload_classes => true,
0
           :environment => "development",
0
           :merb_root => Dir.pwd,

Comments

    No one has commented yet.