Skip to content

Instantly share code, notes, and snippets.

@deepthawtz
Created March 17, 2009 06:22
Show Gist options
  • Save deepthawtz/80347 to your computer and use it in GitHub Desktop.
Save deepthawtz/80347 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment