Sha256: 9040aeb8fc35facc990085460353eb27e6f525bab163646610372f545173ad6c

Contents?: true

Size: 323 Bytes

Versions: 18

Compression:

Stored size: 323 Bytes

Contents

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
foreman-0.37.0.pre2-java lib/foreman.rb
foreman-0.37.0.pre2 lib/foreman.rb
foreman-0.37.0.pre1-java lib/foreman.rb
foreman-0.37.0.pre1 lib/foreman.rb
foreman-0.36.1 lib/foreman.rb
foreman-0.36.0 lib/foreman.rb
foreman-0.35.0 lib/foreman.rb
foreman-0.34.1 lib/foreman.rb
foreman-0.34.0 lib/foreman.rb
foreman-0.33.1 lib/foreman.rb
foreman-0.33.0 lib/foreman.rb
foreman-0.32.0 lib/foreman.rb
foreman-0.31.0 lib/foreman.rb
foreman-0.30.1 lib/foreman.rb
foreman-0.30.0 lib/foreman.rb
foreman-0.29.0 lib/foreman.rb
foreman-0.28.0.pre2 lib/foreman.rb
foreman-0.28.0.pre1 lib/foreman.rb