Sha256: 37e4f960ee37c687f5d24a7c9cbfe1358da9737519044ecc66fa3366225bb236

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

#!/usr/bin/env bash

prefix="PATH='$PATH'"
if [[ -n "${BUNDLE_PATH:-""}" ]] ; then prefix="BUNDLE_PATH='$BUNDLE_PATH' $prefix" ; fi
if [[ -n "${GEM_HOME:-""}" ]]    ; then prefix="GEM_HOME='$GEM_HOME' $prefix" ; fi
if [[ -n "${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

5 entries across 5 versions & 1 rubygems

Version Path
rvm-1.0.7 binscripts/rvmsudo
rvm-1.0.6 binscripts/rvmsudo
rvm-1.0.5 binscripts/rvmsudo
rvm-1.0.4 binscripts/rvmsudo
rvm-1.0.3 binscripts/rvmsudo