Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug that prevented rake from correctly creating the ruby gem an…

…d documentation.
  • Loading branch information...
commit 6ce0330e62e53dbf2d39c2713dc25c56abeb8fac 1 parent df3bb95
Omer Bar-or authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  build_tarball.rake
View
2  build_tarball.rake
@@ -68,7 +68,7 @@ def reversion_file(name)
tmp_name = name + "_tmp"
mv name, tmp_name
begin
- File.open(name, "w") { |f| f.write lines }
+ File.open(name, "w") { |f| lines.each { |line| f.write line } }
rescue
mv tmp_name, name
ensure
Please sign in to comment.
Something went wrong with that request. Please try again.