konklone / oversight.garden

Bringing together the oversight community's work.
https://oversight.garden
Creative Commons Zero v1.0 Universal
26 stars 9 forks source link

Switch from rbenv to rvm, upgrade to Ruby 2.3.3 #162

Closed divergentdave closed 7 years ago

divergentdave commented 7 years ago

This fixes #157. I had to replace present? from ActiveRecord in one place, but otherwise it went smoothly!

divergentdave commented 7 years ago

So the Let's Encrypt renewal task is now dying with this error.

NoMethodError: undefined method `days' for 30:Fixnum
tasks/letsencrypt/letsencrypt.rake:36:in `block (2 levels) in <top (required)>

This is probably related to the issues around present? fixed in 1543798. I don't really get why, whether it's related to the version upgrade or rbenv/rvm, but at any rate adding an explicit require 'active_support/core_ext/numeric' looks like it will fix things.