Ensure rbenv environment is loaded before calling it.