Files
foreman/lib/foreman.rb
David Dollar 5436b68cf1 wip
2011-12-08 17:53:13 -08:00

19 lines
323 B
Ruby

require "foreman/version"
module Foreman
class AppDoesNotExist < Exception; end
# load contents of env_file into ENV
def self.load_env!(env_file = './.env')
require 'foreman/engine'
Foreman::Engine.load_env!(env_file)
end
def self.runner
File.expand_path("../../bin/runner", __FILE__)
end
end