Excerpts from Andrei Maxim's message of Tue Nov 27 18:19:43 -0800 2007:
> [Wed Nov 28 03:50:30 +0200 2007] unlocking /Users/andrei/.sup/lock...
> /usr/local/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup-sync:14:in `to_i':
> Infinity (FloatDomainError)

Heh. Does this patch help?

--- bin/sup-sync        (revision 731)
+++ bin/sup-sync        (working copy)
@@ -7,6 +7,9 @@
 
 class Float
   def to_s; sprintf '%.2f', self; end
+  def to_time_s
+    infinite? ? "unknown" : super
+  end
 end

-- 
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to