Sha256: 3ed3baba5713ce1f7183ed3df558e468a0e5ced55f26b3fb464a3c68b2547c1f

Contents?: true

Size: 589 Bytes

Versions: 27

Compression:

Stored size: 589 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_path/environments/default" ]] && source "$rvm_path/environments/default"

rvm rvmrc load > /dev/null 2>&1

exec ruby "$@"

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
gemrage-0.1.2 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
rvm-1.0.14 binscripts/rvm-auto-ruby
rvm-1.0.13 binscripts/rvm-auto-ruby
rvm-1.0.11 binscripts/rvm-auto-ruby
rvm-1.0.10 binscripts/rvm-auto-ruby
rvm-1.0.9 binscripts/rvm-auto-ruby
rvm-1.0.8 binscripts/rvm-auto-ruby