motion-support: undefined method `+' for class `Date' (NameError)

Hello,

I have updated ruby motion version to v5 and using xcode9.2(ios11) and getting undefined method +’ for class Date' (NameError)

/.rvm/gems/ruby-2.3.1/gems/motion-support-1.1.0/motion/core_ext/date/calculation: undefined method +’ for class Date' (NameError)

While 2 days ago same was working absolutely fine with xcode8.3(ios10). and before updating rubymotion version.

Thanks

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 22 (6 by maintainers)

Most upvoted comments

Amir has a fork that I’m waiting on, to test a fix @marcamillion. Hopefully we’ll get it all straightened out this weekend.

@colinta that did fix my problem. It’s basically a workaround (commenting out the code that crashed) for the deeper issue of of the changed behaviour on High Sierra.

My concern is that we are stripping out that duration functionality. I’m not using it, but if anyone else does, this’ll break their code. But who knows if anyone is even using it… it does not appear to be covered by any unit tests.

I’ll get the exact Rakefile setup for this repo as soon as I get it working on High Sierra.