Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Using the config file path given assuming it's absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
mmircea16 committed Jul 8, 2015
1 parent f5a0dc2 commit b574220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def load_config_file(config_file)
#Reading the list of environments directly from the config file
@context.set :environments, environments_read_from_config_file(config_file)

@context.config_file Pathname.new(File.dirname(__FILE__)).parent.join(config_file).to_s
@context.config_file config_file
end

private
Expand Down

0 comments on commit b574220

Please sign in to comment.