Skip to content

Instantly share code, notes, and snippets.

@Draiken
Created May 31, 2012 19:50
Embed
What would you like to do?
sinatra_problem.rb
require 'bundler/setup'
Bundler.require(:default, :sinatra)
class WatcherApp < ::Sinatra::Base
set :haml, :format => :html5
get '/' do
haml :index
end
get '/watch/' do
haml :watch
end
end
WatcherApp.run!({port: 4567})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment