Skip to content
A simple Ruby script to get your Sinatra app started.
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
testapp
README.md
bootstrap_sinatra.rb

README.md

Bootstrap Sinatra

A simple Ruby script to get your Sinatra app started.

Requirements

Usage

As a shell script:

chmod +x bootstrap_sinatra.rb
./bootstrap_sinatra.rb app_name

Via Ruby:

ruby bootstrap_sinatra.rb app_name

Created files

  • /app_name
    • app_name.rb - Add Sinatra routes here
    • Gemfile - List gem dependecies here
    • config.ru - Rack file
    • /views - Place templates here
    • /public - Place static content here
You can’t perform that action at this time.