This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有如下代码:
Thread.new do
builder = Rack::Builder.new do
map('/'){ run Server }
end
Rack::Handler::Thin.run builder, :Port => 8585
end
#how do i detect, that Server is running here (or wait for it)