A simple application skeleton for Sinatra, inspired by Express.
- Install Ruby (I recommend the latest Ruby, but 1.9 and later should work).
- Install Bundler with
gem install bundler
. bundle
ruby app.rb
This will default to port 3000.
bundle exec rackup
I recommend changing the default port with -p
.