When the ruby shim is invoked with a script, set RBENV_DIR to the script's dirname
When the ruby shim is invoked with a script, set RBENV_DIR to the script's dirname

mediadoneright/rbenv,mediadoneright/rbenv,mediadoneright/rbenv,cehoffman/rbenv,cehoffman/rbenv,cehoffman/rbenv