Closed maletor closed 12 years ago
Rails 3.0.12
1.8.7 (main):0 > Rails::Application::RoutesReloader
NameError: uninitialized constant Rails::Application::RoutesReloader
from /Users/maletor/.rvm/gems/ree-1.8.7-2012.02/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
Might be resolved with wrapping that in a
if RAILS_VERSION > 3.0
routesreloader
end
since it seems to work on 3.0 without the reload.
Thanks. The fix for Issue #3 is clearly specific to Rails 3.1+ and not compatible with Rails 3.0. In addition to fixing this specific issue, I will also add Gemfiles and TravisCI configs for all Rails 3.x series releases such that Versionist is tested against all 3.x releases and this doesn't happen again.
Stay tuned.....
FYI, this is fixed on the master branch if you want to update the dependency on versionist in your Gemfile to point at the git repo for the time being. The tests are failing on Travis for some reason (they work fine locally), so I'm trying to get that squared away before I release a new version. Will let you know when it's released......
Thanks.
This fix has been released in versionist 0.1.3. Let me know if you run into any other issues. Thanks.