bitboxer/git-commit-notifier — Issue #124: `write': wrong number of arguments (2 for 1) 
Author: bitboxer
Created: 2011-12-29 15:10:48+00:00
State: open

/home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:347:in `write': wrong number of arguments (2 for 1) (ArgumentError)
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/emailer.rb:92:in `block (3 levels) in perform_delivery_smtp'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/emailer.rb:90:in `each'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/emailer.rb:90:in `block (2 levels) in perform_delivery_smtp'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:278:in `call'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:278:in `block (2 levels) in write_message_by_block'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:293:in `using_each_crlf_line'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:276:in `block in write_message_by_block'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:182:in `writing'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/protocol.rb:275:in `write_message_by_block'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:904:in `block in data'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:945:in `critical'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:899:in `data'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:719:in `block in open_message_stream'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:855:in `rcptto_list'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:719:in `open_message_stream'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/emailer.rb:89:in `block in perform_delivery_smtp'
from /home/git/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/smtp.rb:526:in `start'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/emailer.rb:83:in `perform_delivery_smtp'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/emailer.rb:164:in `send'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/commit_hook.rb:193:in `block in run'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/diff_to_html.rb:685:in `block in diff_between_revisions'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/diff_to_html.rb:685:in `each'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/diff_to_html.rb:685:in `diff_between_revisions'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/commit_hook.rb:165:in `run'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/executor.rb:29:in `block in run!'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/executor.rb:27:in `each_line'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/lib/git_commit_notifier/executor.rb:27:in `run!'
from /home/git/.rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.1/bin/git-commit-notifier:15:in `'
from /home/git/.rvm/gems/ruby-1.9.2-p180/bin/git-commit-notifier:19:in `load'
from /home/git/.rvm/gems/ruby-1.9.2-p180/bin/git-commit-notifier:19:in `

'

After I changed the f.print(line, "\r\n") into two seperate prints it works