deploy ruby

sinatra, rack, plain ruby scripts. config.ru is the happy path.

the whole thing

curl -fsSL https://pushto.host/install | sh   # or: brew install mydude-industries/tap/pushto · npm i -g @pushto/cli
pushto login
pushto init my-ruby
pushto

that last bare pushto is the deploy. on windows, the install line is irm https://pushto.host/install.ps1 | iex in powershell. live at https://<your-name>.pushto.host with https. we build it and run it as a server. you never touch the machinery. runs on the free tier too — your one free app can be a server; it naps after a quiet spell and wakes on the next visit. $13/mo lifts the one-project cap and keeps apps always awake.

how we know it's ruby

  • a Gemfile at the project root, without rails in it

what happens when you push

  • a config.ru at the root runs with rackup on port 8080, bound to 0.0.0.0. that is the sinatra and rack happy path
  • no config.ru? the first of app.rb, main.rb, server.rb, bot.rb, run.rb runs with ruby

sharp edges

  • a plain app.rb sinatra server binds localhost by default, which is unreachable from outside. use config.ru so rackup binds for you, or set :bind, "0.0.0.0" and read the PORT env var

deploying from an agent?

claude code and cursor can run all of this for you: connect your agent. the short machine-readable version of this site lives at https://pushto.host/llms.txt.

something off? run pushto doctor, or see all supported frameworks.