Sha256: bf59767ce1090596b5445adbe48cd8ee2c5c9d9451c26f6b4a88fba901e79a05
Contents?: true
Size: 472 Bytes
Versions: 8
Compression:
Stored size: 472 Bytes
Contents
# Copyright (c) 2015 AppNeta, Inc. # All rights reserved. require 'rack/handler/puma' require 'oboe/inst/rack' Oboe.logger.info "[oboe/info] Starting background utility rack app on localhost:8101." Thread.new do app = Rack::Builder.new { use Oboe::Rack run Proc.new { |env| [200, {"Content-Type" => "text/html"}, ['Hello TraceView!']] } } Rack::Handler::Puma.run(app, {:Host => '127.0.0.1', :Port => 8101}) end # Allow Thin to boot. sleep(2)
Version data entries
8 entries across 8 versions & 1 rubygems