Skip to content

Commit

Permalink
Fixed bug that prevented rake from correctly creating the ruby gem an…
Browse files Browse the repository at this point in the history
…d documentation.
  • Loading branch information
Omer Bar-or committed Apr 5, 2010
1 parent df3bb95 commit 6ce0330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tarball.rake
Expand Up @@ -68,7 +68,7 @@ def reversion_file(name)
tmp_name = name + "_tmp" tmp_name = name + "_tmp"
mv name, tmp_name mv name, tmp_name
begin begin
File.open(name, "w") { |f| f.write lines } File.open(name, "w") { |f| lines.each { |line| f.write line } }
rescue rescue
mv tmp_name, name mv tmp_name, name
ensure ensure
Expand Down

0 comments on commit 6ce0330

Please sign in to comment.