Sha256: cc0616a68e7122ab460619967915d17c07d70552e918877ff00b6e55a9e3204b

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 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 "${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

6 entries across 6 versions & 1 rubygems

Version Path
rvm-1.1.4 binscripts/rvmsudo
rvm-1.1.3 binscripts/rvmsudo
rvm-1.1.2 binscripts/rvmsudo
rvm-1.1.1 binscripts/rvmsudo
rvm-1.1.0 binscripts/rvmsudo
rvm-1.0.23 binscripts/rvmsudo