At preset the required version of ruby (e.g. 2.5) is linked to /usr/local/bin/ruby2.5 and various config files have to be editted to use that.
Would it be simpler to link the appropriate version of ruby to /usr/local/bin/ruby and then use the generic path in configuration files such as whimsy-pubsub.conf and cronjobs.pp? Also, /srv/whimsy is populated directly from git, rather than using rake. This means it is set up early on. It seems to me that one could do the same for /srv/git/letsencrypt. This would make it easier to request the SSL certificate as one would not have to install rake first (or run git clone manually). Sebb