Sha256: a12fe66a88693b8ad2faeeab4c6e448086dd4c7260bc8e6ddb57c7d5a9863c9c

Contents?: true

Size: 584 Bytes

Versions: 3

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 load-rvmrc > /dev/null 2>&1

exec ruby "$@"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rvm-1.0.0 binscripts/rvm-auto-ruby
rvm-0.1.47 binscripts/rvm-auto-ruby
rvm-0.1.46 binscripts/rvm-auto-ruby