Skip to content

Commit

Permalink
Fixed Tempfile unexpected prefix_suffix on Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeigarts committed Sep 1, 2011
1 parent dd9b424 commit 05a4f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprinkle/installers/transfer.rb
Expand Up @@ -107,7 +107,7 @@ def self.render_template(template, context, prefix)
raise TemplateError.new(e, template, context)
end

final_tempfile = Tempfile.new(prefix)
final_tempfile = Tempfile.new(prefix.to_s)
final_tempfile.print(output)
final_tempfile.close
final_tempfile
Expand Down

0 comments on commit 05a4f39

Please sign in to comment.