Sha256: 1a9ff9c7cf2c8ad35db7575e6214e6f7829b664a59d3dd1efedff069e06280ec
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
module Soaring class Runner def initialize(options) @options = options end def run bind_address = '0.0.0.0' rackup_parameters = "-E #{@options[:environment]} ./config.ru -p #{@options[:port]} --host #{bind_address}" puts "starting rackup with parameters #{rackup_parameters}" if @options[:verbose] exec("bundle exec rackup #{rackup_parameters}") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
soaring-0.1.12 | lib/soaring/runner.rb |
soaring-0.1.11 | lib/soaring/runner.rb |