Skip to content

Commit 5860465

Browse files
author
Sean Smith
committed
Incorporated fix for ERB to String conversion error
Reference forward3d#81
1 parent 8c09241 commit 5860465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cap-ec2/utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def load_config
5656

5757
config_location = File.expand_path(fetch(:ec2_config), Dir.pwd) if fetch(:ec2_config)
5858
if config_location && File.exists?(config_location)
59-
config = YAML.load(ERB.new(File.read(fetch(:ec2_config))))
59+
config = YAML.load(ERB.new(File.read(fetch(:ec2_config))).result)
6060
if config
6161
set :ec2_project_tag, config['project_tag'] if config['project_tag']
6262
set :ec2_roles_tag, config['roles_tag'] if config['roles_tag']

0 commit comments

Comments
 (0)