How to silently start Sinatra + Thin?
问题 I have a Sinatra::Base webservice which I want to start from a command line Ruby program, so I have this: # command line program file require 'mymodule/server' puts "Running on 0.0.0.0:4567, debugging to STDOUT..." MyModule::Server.run! bind: '0.0.0.0', port: 4567, environment: :production This works as expected but it throws out: $ myscript Running on 0.0.0.0:4567, debugging to STDOUT... == Sinatra/1.3.1 has taken the stage on 4567 for production with backup from Thin >> Thin web server (v1