Doing it My Way

2008 May 17

Yesterday afternoon, after being sent home from work early, I thought I’d try out Sinatra as a way of learning more Ruby

I’ve been needing to learn more in-depth Ruby for a while, and looking for an excuse to do so, being bored yesterday was one reason, and Sinatra sounded cool, so I thought I’d give it a go!

It literally is as easy as it says in the docs, and below is all you need for your Hello, World! application:


  require 'rubygems'
  require 'sinatra' 

  get '/' do
    "Hello, World!"
  end

Off to have more fun, and hoping to launch my first app before the weekend is out!

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS