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
rvm-1.1.4 binscripts/rvm-auto-ruby
rvm-1.1.3 binscripts/rvm-auto-ruby
rvm-1.1.2 binscripts/rvm-auto-ruby
rvm-1.1.1 binscripts/rvm-auto-ruby
rvm-1.1.0 binscripts/rvm-auto-ruby
rvm-1.0.23 binscripts/rvm-auto-ruby
rvm-1.0.22 binscripts/rvm-auto-ruby
rvm-1.0.21 binscripts/rvm-auto-ruby
rvm-1.0.20 binscripts/rvm-auto-ruby
rvm-1.0.19 binscripts/rvm-auto-ruby
rvm-1.0.18 binscripts/rvm-auto-ruby
rvm-1.0.17 binscripts/rvm-auto-ruby
rvm-1.0.15 binscripts/rvm-auto-ruby
gemrage-1.0.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
gemrage-0.4.1 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
gemrage-0.4.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
gemrage-0.3.2 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
gemrage-0.3.1 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
gemrage-0.3.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby
gemrage-0.2.0 vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby