Add the updated rake secret call

When I restored it, the version I used was older than @alias1's code. Update
mine to match.
Also export RBENV_VERSION so the correct ruby is set