Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
| #!/usr/bin/env ruby | |
| # Libraries::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
| require 'rubygems' | |
| require 'sinatra/base' | |
| require 'slim' | |
| require 'sass' | |
| require 'coffee-script' | |
| # Application::::::::::::::::::::::::::::::::::::::::::::::::::: |
| require 'sinatra' | |
| helpers do | |
| def haml(template, options = {}, *) | |
| if template.to_s.start_with? 'in/' | |
| options[:layout] ||= :'in/layout' | |
| end | |
| super | |
| end | |
| end |