Sha256: 14de1ac6eff90afa210800806bd87fe1d785c8bf1836567e29e4693575628988

Contents?: true

Size: 584 Bytes

Versions: 7

Compression:

Stored size: 584 Bytes

Contents

#!/usr/bin/env bash

if [[ -n "$rvm_path" && -s "$rvm_path/scripts/rvm" ]]; then
  source "$rvm_path/scripts/rvm"
elif [[ -s "/usr/local/lib/rvm" ]]; then
  source "/usr/local/lib/rvm"
elif [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
  source "$HOME/.rvm/scripts/rvm"
elif [[ -s "/usr/local/rvm/scripts/rvm" ]]; then
  source "/usr/local/rvm/scripts/rvm"
else
  echo "Unable to detect rvm, please manually set the rvm_path env variable." >&2
  exit 1
fi

[[ -s "$rvm_environments_path/default" ]] && source "$rvm_environments_path/default"
rvm rvmrc load > /dev/null 2>&1

exec ruby "$@"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rvm-1.0.7 binscripts/rvm-auto-ruby
rvm-1.0.6 binscripts/rvm-auto-ruby
rvm-1.0.5 binscripts/rvm-auto-ruby
rvm-1.0.4 binscripts/rvm-auto-ruby
rvm-1.0.3 binscripts/rvm-auto-ruby
rvm-1.0.2 binscripts/rvm-auto-ruby
rvm-1.0.1 binscripts/rvm-auto-ruby