Skip to content

Instantly share code, notes, and snippets.

@wycats
Created October 23, 2008 23:21
Show Gist options
  • Save wycats/19266 to your computer and use it in GitHub Desktop.
Save wycats/19266 to your computer and use it in GitHub Desktop.
#load required files
require 'rubygems'
gem 'merb-core', '>= 0'
require 'merb-core'
# require 'rack/handler/grizzly'
# require 'rack/adapter/merb'
# require 'jruby/rack/grizzly_helper'
# Merb::Rack::Adapter.register %w{grizzly}, :GrizzlyMerb
# Set up the server and log stream, supress merb signal trapping
Merb.disable(:signals)
# Start merb
Merb.start({
:merb_root => File.dirname(__FILE__),
:adapter => "mongrel",
:verbose => true,
:port => 4000,
:log_level => :debug
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment