diff options
-rw-r--r-- | bin/rainbows | 2 | ||||
-rw-r--r-- | lib/rainbows.rb | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/bin/rainbows b/bin/rainbows index b3606ac..d56c5bb 100644 --- a/bin/rainbows +++ b/bin/rainbows @@ -118,4 +118,4 @@ if $DEBUG end Unicorn::Launcher.daemonize!(options) if rackup_opts[:daemonize] -Rainbows.run(app, options) +Rainbows::HttpServer.new(app, options).start.join diff --git a/lib/rainbows.rb b/lib/rainbows.rb index bd2c106..64d2d03 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -61,12 +61,6 @@ module Rainbows end # :stopdoc: - # runs the Rainbows! HttpServer with +app+ and +options+ and does - # not return until the server has exited. - def self.run(app, options = {}) # :nodoc: - HttpServer.new(app, options).start.join - end - class << self attr_accessor :server attr_accessor :cur # may not always be used |