#!/usr/bin/env ruby require_relative '../lib/opener/ned/server' # 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