public
Description: Nifty's VM project
Homepage: http://getnifty.net
Clone URL: git://github.com/shlomiatar/nifty-vm.git
Click here to lend your support to: nifty-vm and make a donation at www.pledgie.com !
nifty-vm / merbivize.rb
100644 12 lines (9 sloc) 0.31 kb
1
2
3
4
5
6
7
8
9
10
11
12
# To change this template, choose Tools | Templates
# and open the template in the editor.
 
require 'rubygems'
require 'merb-core'
 
ARGV.push '-H' if ARGV[0] && ARGV[0] =~ /^[^-]/
unless %w[-a --adapter -i --irb-console -r --script-runner].any? { |o| ARGV.index(o) }
  ARGV.push *%w[-a mongrel]
end
 
Merb.start