From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.224.47.65 with SMTP id m1cs99699qaf; Tue, 23 Nov 2010 06:22:38 -0800 (PST) Received: by 10.204.1.143 with SMTP id 15mr6841883bkf.122.1290522144256; Tue, 23 Nov 2010 06:22:24 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id m4si5544475vcr.175.2010.11.23.06.22.24; Tue, 23 Nov 2010 06:22:24 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E9F4B1858346; Tue, 23 Nov 2010 09:22:23 -0500 (EST) Received: from mail-gw0-f50.google.com (mail-gw0-f50.google.com [74.125.83.50]) by rubyforge.org (Postfix) with ESMTP id E194718581F3 for ; Tue, 23 Nov 2010 08:23:44 -0500 (EST) Received: by gwb11 with SMTP id 11so50942gwb.23 for ; Tue, 23 Nov 2010 05:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:from:to :date:message-id:user-agent:content-transfer-encoding; bh=Uq4FRRu25YKxuMf+LDyIu9PO/mNSe9pxTJTgtaxZQH4=; b=ZPigJvIFQW5eSYJ5w9F/6PER7Yu0Wbw/eQn7d8Kq6tZ5VswIuOOGAgxp1qrTI2FhgD NLAFGmDn+RJOlwjYWAOVoqczrkQ+hYLptCgX8IgQopWedkEROYWh+worOdvRkTxP62hX sXShU8Y/snqhonTUw9bOWhcW3Lszkyh9alQxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:date:message-id:user-agent :content-transfer-encoding; b=wpOlvzfafOGVyXwZULv+AZTUDEdl2LuBFB9AjAY3BAtA1BjK/GRRnTJgDWtBsRCirA N9874tUojP3VzH84LI0oHJbJyiZ6j2KprUekKl71mg9qEZ6k/Xliv7cueXeEguuA+Uun Fr9/35MTcASPBj3/o1DkwPjtYXRvBzTbaIQaY= Received: by 10.150.204.19 with SMTP id b19mr6024914ybg.157.1290518623397; Tue, 23 Nov 2010 05:23:43 -0800 (PST) Received: from localhost ([190.246.184.204]) by mx.google.com with ESMTPS id p20sm326176ybe.5.2010.11.23.05.23.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Nov 2010 05:23:42 -0800 (PST) From: Mariano Mara To: sup-talk Date: Tue, 23 Nov 2010 10:23:38 -0300 Message-Id: <1290518444-sup-4196@kafka> User-Agent: Sup/git Subject: [sup-talk] Warning with mainline version X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hi. I downloaded git mainline version after using 0.11 for a long time. I'm getting the following warning every time the before poll hook is executed: .sup/hooks/before-poll.rb:2: warning: method redefined; discarding old offlineimap_run This is waht I have in before-poll.rb: # http://sup.rubyforge.org/wiki/wiki.pl?Hooks def offlineimap_run() cmd = "offlineimap -o -l ~/.offlineimap.log" `#{cmd} 2>&1` end if (@last_fetch || Time.at(0)) < Time.now - 120 say "Running offlineimap..." log offlineimap_run() say "Finished offlineimap." end @last_fetch = Time.now I'm really bad with ruby, can somebody help me to get rid of this warning? TIA, Mariano _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk