Sha256: dd5073a9a954161448465bae8b0190e0d106015589e5831481a395f5ee74e255

Contents?: true

Size: 438 Bytes

Versions: 17

Compression:

Stored size: 438 Bytes

Contents

#!/usr/bin/env bash

case "$1" in
  --trace)   set -o xtrace  ; shift ;;
  --verbose) set -o verbose ; shift ;;
esac

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 $@"

exit $?

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rvm-1.0.22 binscripts/rvmsudo
rvm-1.0.21 binscripts/rvmsudo
rvm-1.0.20 binscripts/rvmsudo
rvm-1.0.19 binscripts/rvmsudo
rvm-1.0.18 binscripts/rvmsudo
rvm-1.0.17 binscripts/rvmsudo
rvm-1.0.15 binscripts/rvmsudo
gemrage-1.0.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.4.1 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.4.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.3.2 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.3.1 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.3.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.2.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
gemrage-0.1.2 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo
rvm-1.0.14 binscripts/rvmsudo
rvm-1.0.13 binscripts/rvmsudo