Sha256: 9f537d64936c978491d5a8837d33e7ef68b13ddcd9c57a5f1824f290a95ecd8c

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

module Scales
  module Monitor
    class << self
      
      def run!
        ARGV << "--stdout" << "--environment" << "#{Scales.env}"
        
        monitor     = WebSocket.new
        runner      = Goliath::Runner.new(ARGV, monitor)
        runner.app  = Goliath::Rack::Builder.build(WebSocket, monitor)
        runner.load_plugins(WebSocket.plugins)     
        runner.run
      end
      
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scales-monitor-0.0.4 lib/scales-monitor/base.rb
scales-monitor-0.0.1.beta.2 lib/scales-monitor/base.rb
scales-monitor-0.0.1.beta.1 lib/scales-monitor/base.rb