DateTime method calls hang
When ActiveSupport 5 time is required (require 'activesupport/time') the rb_funcall() function on hour, minute, second, offset, and others causes a hang. This issue gives more details.
A work around is to define methods on the DateTime class that just call super. That gives the correct results and does not hang.
Note that calling respond_to? returns true.
The methods work as expected in IRB or a Ruby script. Somehow Active Support 5 puts DateTime objects in a state that is not consistent between Ruby calls and those made from C.