On linux, apt-get install ruby
or yum install ruby
. On OS X install Hombrew then brew install ruby
. On Windows use RailsInstaller.
git clone git://gist.github.com/2172615.git demo-sinatra-app
cd demo-sinatra-app
gem install bundler
bundle
ruby app.rb