require 'rubygems' gemfile = File.expand_path('../../../Gemfile', __FILE__) raise 'could not find gemfile' unless File.exist?(gemfile) ENV['BUNDLE_GEMFILE'] = gemfile require 'bundler' Bundler.setup $:.unshift File.expand_path('../../../../lib', __FILE__) require 'sinatra' module Dope class App < ::Sinatra::Base get "/" do "BBQ supports sinatra" end end end