Pass RBENV_VERSION from parent shell

'rbenv shell foo' sets RBENV_VERSION=foo . This value should be
propagated to the sudo environment.