On Windows, grab the latest version of the RubyInstaller.
If you have a Mac, you probably already have Ruby installed.
You can install Sinatra like so:
gem install sinatra
See the Sinatra web site for more information.
- Install Ruby first, see above.
- See the From the Lessons section (below) for help using the command prompt.
Most of the Ruby we learnt was based on Learn To Program. We didn't have time to cover everything, so it's worth going back to.
See also:
- TryRuby - An interactive Ruby tutorial in you web browser.
- Why’s (Poignant) Guide to Ruby
- Programming Ruby
- Ruby Reference Documentation