---
title: "Deploy Ruby Sinatra"
description: "A simple Sinatra webserver"
category: "Starters"
url: https://railway.com/deploy/oo2_Dy
---

# Deploy Ruby Sinatra

A simple Sinatra webserver

**[Deploy Ruby Sinatra on Railway](https://railway.com/template/oo2_Dy)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/oo2_Dy/manifest.json

- **Creator:** jr's Workspace
- **Category:** Starters
- **Total deploys:** 100

## Template content

### sinatra

- **Source:** https://github.com/railwayapp-starters/ruby-sinatra
- **Public domain:** Yes

## Documentation

Sinatra is a lightweight web framework written in Ruby. It allows developers to quickly and easily create web applications and APIs using minimal code. Sinatra is often referred to as a "micro" framework because it provides only the bare essentials needed to build a web application.

This template is pretty simple all it deploys is a pretty short file ready for you to extend to your next big thing.

```ruby
require 'sinatra'

get '/' do
  'Choo Choo! Welcome to your Sinatra server 🚅'
end
```

## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/oo2_Dy
