Sha256: 07f259e4999136358792f0830bc52504424b33b33d9f3f56678ef37d5b5dd52f

Contents?: true

Size: 402 Bytes

Versions: 7

Compression:

Stored size: 402 Bytes

Contents

#!/usr/bin/env bash

prefix="PATH='$PATH'"
if [[ ! -z "$BUNDLE_PATH" ]] ; then prefix="BUNDLE_PATH='$BUNDLE_PATH' $prefix" ; fi
if [[ ! -z "$GEM_HOME" ]] ; then prefix="GEM_HOME='$GEM_HOME' $prefix" ; fi
if [[ ! -z "$GEM_PATH" ]] ; then prefix="GEM_PATH='$GEM_PATH' $prefix" ; fi

eval "sudo" "/usr/bin/env $prefix $@"
# rvm_env_prefix="PATH='$PATH'"
# exec sudo -E /usr/bin/env "$rvm_env_prefix" "$@"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rvm-1.0.2 binscripts/rvmsudo
rvm-1.0.1 binscripts/rvmsudo
rvm-1.0.0 binscripts/rvmsudo
rvm-0.1.47 binscripts/rvmsudo
rvm-0.1.46 binscripts/rvmsudo
rvm-0.1.45 binscripts/rvmsudo
rvm-0.1.44 binscripts/rvmsudo