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
Search Repo:
daikini (author)
Tue Mar 25 14:16:30 -0700 2008
Michael S. Klishin (committer)
Thu May 01 22:57:14 -0700 2008
commit  b2867ec377b6beac376029044be779c75fb92201
tree    68d67fb3dac6411beaf4f539d791b5734b5b5610
parent  92dcf722b7e34f8562340b42ed9ada44201fea91
merb-core / bin / merb
100755 12 lines (9 sloc) 0.228 kb
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env ruby
require "merb-core"
 
if ARGV[0] && ARGV[0] =~ /^[^-]/
  ARGV.push "-H"
end
 
unless %w[-a --adapter -i --irb-console -r --script-runner].any? { |o| ARGV.index(o) }
  ARGV.push *%w[-a mongrel]
end
 
Merb.start