RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Installation
You can install Sinatra as a global gem: gem install sinatra or add it to a project's Gemfile # in Gemfile: gem 'sinatra' and run bundle install.
Your first Sinatra app
# app.rb require 'sinatra' get '/' do 'Hello, Universe!' end Install Sinatra: gem install sinatra Run the app: ruby app.rb That's it! Access your app at http://localhost:4567
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website