#!/usr/bin/env ruby require 'rack' # Without calling `Rack::Server#options` manually the CLI arguments will never # be passed, thus the application can't be specified as a constructor argument. server = Rack::Server.new server.options[:config] = File.expand_path('../../config.ru', __FILE__) server.start