Issue #4776 has been updated by Aaron Patterson.

ruby -v changed from - to ruby 1.9.3dev (2011-06-06 trunk 31944) [x86_64-darwin10.7.0]

Hello?  :(
----------------------------------------
Bug #4776: DateTime.new! has been disabled
http://redmine.ruby-lang.org/issues/4776

Author: Aaron Patterson
Status: Open
Priority: Normal
Assignee: tadayoshi funaba
Category: 
Target version: 
ruby -v: ruby 1.9.3dev (2011-06-06 trunk 31944) [x86_64-darwin10.7.0]


After r31668, `DateTime.new!` no longer works.  Is there a replacement?  Or is this a mistake?

This code works before r31668, but breaks after 31668:

irb(main):001:0> require 'date'
=> true
irb(main):002:0> DateTime.new!
NoMethodError: undefined method `new!' for DateTime:Class
	from (irb):2
	from /Users/aaron/.local/bin/irb:12:in `<main>'
irb(main):003:0>

Some gems (specifically the tzinfo gem) depend on this method.  Rails depends on tzinfo, and since tzinfo breaks I can no longer test trunk against rails. :-(


-- 
http://redmine.ruby-lang.org