sorentwo / readthis

:newspaper: Pooled active support compliant caching with redis
MIT License
506 stars 40 forks source link

Gem is incompatible with MRI Ruby 2.0.0p247 #8

Closed vovayartsev closed 9 years ago

vovayartsev commented 9 years ago

Because of this line in the sources, it fails to run on MRI Ruby 2.0.0p247 Object.const_defined?('ActiveSupport::Notifications')

The exception is:

NameError: wrong constant name ActiveSupport::Notifications
sorentwo commented 9 years ago

@vovayartsev: Thanks for the report. I swapped out the use of const_defined? for plain defined?, so it should be all good.