Closed mauricio closed 10 years ago
Looks like the log subscribers have changed from 3 => 4.
@jnunemaker I have run workers in a sample app here and they were all fine. But I can include tests to validate this as well.
What do you think?
You probably were not requiring the log subscribers.
Check out the build failures: https://travis-ci.org/bkeepers/qu/builds/18193019
Cool, gonna check that and push again.
@jnunemaker and here it is. The issue was caused by https://github.com/rails/rails/commit/a6fd462a8019f0be512bcba7ce5b9f9e482c7f8e, that logger instance method was hiding the logger class method that was used previously. Including it makes the specs go green on both cases.
Still, it would be nice to have specs running for both cases, should I include separate gemfiles to be run by travis for this?
Still, it would be nice to have specs running for both cases, should I include separate gemfiles to be run by travis for this?
:+1: I would love that.
Merged this. You can add the separate gemfiles in another pull when you get time.
The Railties API hasn't changed between Rails 3 and 4, so the dependency can be made compatible with Rails 4 as well. Also changed it to depend on
railties
instead ofrails
itself.