load contents from env file

This commit is contained in:
Chris Continanza committed 2011-12-03 15:43:51 -08:00
1 parent 79cf541ebe
commit e33921f083
2 files changed
+19

No files matched your search

+5
View File
@@ -4,5 +4,10 @@ module Foreman
class AppDoesNotExist < Exception; end
# load contents of env_file into ENV
def self.load!(env_file)
require 'foreman/engine'
Foreman::Engine.load_env(env_file)
end
end