Install bundler after installing a new version of ruby.
Explictly setup the whenever tasks, instead of using the require that automatically configures them.  The automatic configuration of it causes it allows the task to happen before the bundle gets installed.