Rack
Standalone Rack App
Gemfile
gem 'rack'
app.rb
run ->(env) { [200, {"Content-Type" => "text/html"}, ["Hello World!"]] }
Running
$ rackup app.rb
gem 'rack'
run ->(env) { [200, {"Content-Type" => "text/html"}, ["Hello World!"]] }
$ rackup app.rb
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect