date broken in experimental r2001?
% macirb irb: warn: can't alias exit from irb_exit. irb(main):001:0> require 'date' NoMethodError: undefined method `Rational:' for Date:Class This is with a freshly installed LLVM (r72741, the stable point noted in README.rdoc) and MacRuby r2001. Are other folks seeing this, or is it maybe something about my config? Thanks! -tim
Hi Timothy, That sounds expected, Rational is not implemented yet in experimental :) Laurent On Jul 7, 2009, at 10:13 PM, Timothy Wood wrote:
% macirb irb: warn: can't alias exit from irb_exit. irb(main):001:0> require 'date' NoMethodError: undefined method `Rational:' for Date:Class
This is with a freshly installed LLVM (r72741, the stable point noted in README.rdoc) and MacRuby r2001. Are other folks seeing this, or is it maybe something about my config?
Thanks!
-tim
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Ruby's DateTime is pretty bad, if you are still using MRI, you might want to give http://github.com/jeremyevans/third_base/tree/master a shot. - Matt On Tue, Jul 7, 2009 at 11:38 PM, Laurent Sansonetti <lsansonetti@apple.com>wrote:
Hi Timothy,
That sounds expected, Rational is not implemented yet in experimental :)
Laurent
On Jul 7, 2009, at 10:13 PM, Timothy Wood wrote:
% macirb irb: warn: can't alias exit from irb_exit. irb(main):001:0> require 'date' NoMethodError: undefined method `Rational:' for Date:Class
This is with a freshly installed LLVM (r72741, the stable point noted in README.rdoc) and MacRuby r2001. Are other folks seeing this, or is it maybe something about my config?
Thanks!
-tim
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Oh hey, maybe I could just use NSDate and friends… thanks for the idea! =) -tim On Jul 7, 2009, at 11:59 PM, Matt Aimonetti wrote:
Ruby's DateTime is pretty bad, if you are still using MRI, you might want to give http://github.com/jeremyevans/third_base/tree/master a shot.
- Matt
On Tue, Jul 7, 2009 at 11:38 PM, Laurent Sansonetti <lsansonetti@apple.com
wrote: Hi Timothy,
That sounds expected, Rational is not implemented yet in experimental :)
Laurent
On Jul 7, 2009, at 10:13 PM, Timothy Wood wrote:
% macirb irb: warn: can't alias exit from irb_exit. irb(main):001:0> require 'date' NoMethodError: undefined method `Rational:' for Date:Class
This is with a freshly installed LLVM (r72741, the stable point noted in README.rdoc) and MacRuby r2001. Are other folks seeing this, or is it maybe something about my config?
Thanks!
-tim
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I highly recommend using the Foundation classes when you do MacRuby- only programming: generally they are faster and more stable than the Ruby stdlib counterparts :) Laurent On Jul 8, 2009, at 12:01 AM, Timothy Wood wrote:
Oh hey, maybe I could just use NSDate and friends… thanks for the idea! =)
-tim
On Jul 7, 2009, at 11:59 PM, Matt Aimonetti wrote:
Ruby's DateTime is pretty bad, if you are still using MRI, you might want to give http://github.com/jeremyevans/third_base/tree/master a shot.
- Matt
On Tue, Jul 7, 2009 at 11:38 PM, Laurent Sansonetti <lsansonetti@apple.com
wrote: Hi Timothy,
That sounds expected, Rational is not implemented yet in experimental :)
Laurent
On Jul 7, 2009, at 10:13 PM, Timothy Wood wrote:
% macirb irb: warn: can't alias exit from irb_exit. irb(main):001:0> require 'date' NoMethodError: undefined method `Rational:' for Date:Class
This is with a freshly installed LLVM (r72741, the stable point noted in README.rdoc) and MacRuby r2001. Are other folks seeing this, or is it maybe something about my config?
Thanks!
-tim
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Laurent Sansonetti
-
Matt Aimonetti
-
Timothy Wood