public this repo is viewable by everyone
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Show merb usage if first argument is not a switch

Signed-off-by: Michael S. Klishin <michael@novemberain.com>
daikini (author)
about 1 month ago
michaelklishin (committer)
14 days ago
commit  b2867ec377b6beac376029044be779c75fb92201
tree    68d67fb3dac6411beaf4f539d791b5734b5b5610
parent  92dcf722b7e34f8562340b42ed9ada44201fea91
...
1
2
3
 
 
 
 
4
5
6
7
 
8
...
1
2
3
4
5
6
7
8
9
10
 
11
12
0
@@ -1,8 +1,12 @@
0
 #!/usr/bin/env ruby
0
 require "merb-core"
0
 
0
+if ARGV[0] && ARGV[0] =~ /^[^-]/
0
+ ARGV.push "-H"
0
+end
0
+
0
 unless %w[-a --adapter -i --irb-console -r --script-runner].any? { |o| ARGV.index(o) }
0
   ARGV.push *%w[-a mongrel]
0
 end
0
-
0
+
0
 Merb.start

Comments

    No one has commented yet.