Skip to content

Commit

Permalink
allow dossier.yml to support erb
Browse files Browse the repository at this point in the history
  • Loading branch information
hughkelsey committed Oct 17, 2013
1 parent 78629ea commit 02010e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dossier/configuration.rb
Expand Up @@ -13,7 +13,7 @@ def initialize
private

def setup_client!
@connection_options = YAML.load_file(@config_path)[Rails.env].symbolize_keys
@connection_options = YAML.load(ERB.new(File.read(@config_path)).result)[Rails.env].symbolize_keys
@client = Dossier::Client.new(@connection_options)

rescue Errno::ENOENT => e
Expand Down

0 comments on commit 02010e3

Please sign in to comment.