franckverrot / activevalidators

Collection of ActiveModel/ActiveRecord validators
https://rubygems.org/gems/activevalidators
MIT License
306 stars 49 forks source link

Fix the build on rbx #65

Closed franckverrot closed 10 years ago

franckverrot commented 10 years ago

https://travis-ci.org/franckverrot/activevalidators/jobs/35202554

zporter commented 10 years ago

As far as I can tell, the problem appears to be in the date_validator gem. It looks like it was introduced in version 0.6.1 -- specifically this commit. When working with a local copy of the date_validator gem, I can get the test to pass by modifying this line to use:

require_relative './active_model/validations/date_validator'

I'm not sure what the best course of action is here and am stumped that their build passes when using the same version of rbx :confused:.

I hope the above helps to troubleshoot further.