Working version of ruby tutorial