Sinatra is a simple Ruby DSL for quickly creating web applications.
It has built in features for routing, using templates, serving static files, helpers, error handling and many other topics.
| Version | Release Date | 
|---|---|
| 2.0.0beta2 | 2016-08-22 | 
| 2.0.0beta1 | 2016-08-22 | 
| 1.4.7 | 2016-01-24 | 
| 1.4.0 | 2013-03-15 | 
| 1.3.0 | 2011-10-01 | 
| 1.2.0 | 2011-03-02 | 
| 1.1.0 | 2010-10-23 | 
| 1.0.0 | 2010-03-23 | 
| 0.9.0 | 2009-01-18 | 
| 0.3.0 | 2008-08-31 | 
| 0.2.0 | 2008-04-11 | 
| 0.1.0 | 2007-10-04 | 
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 .
# 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