Sha256: e00448302fdbe181dce93a73318fc749e8c99caba0896c1a95e60ed83e323356

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

#!/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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opener-ned-2.1.0 bin/ned-server
opener-ned-2.0.0 bin/ned-server