Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (12 sloc) 366 Bytes
#!/usr/bin/env ruby
require "bundler/setup"
Bundler.require
require "irb"
require "irb/completion"
DB = Sequel.connect(ENV["DATABASE_URL"] ||
raise("missing_environment=DATABASE_URL"))
require_relative "../lib/hekla"
# Sinatra actually has a hook on `at_exit` that activates whenever it's
# included. This setting will suppress it.
set :run, false
IRB.start