Sha256: 4ca6d1242689b2485587abf8bc4683b321fb6b41d7be4506d5248965153a13f0

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

#!/usr/bin/env bash

if [[ "root" = "$(whoami)" ]] ; then
  rvm_rc_files="${rvm_rc_files:-"/etc/profile /etc/zshenv"}"
else
  rvm_rc_files="${rvm_rc_files:-"$HOME/.bash_profile $HOME/.bashrc $HOME/.zshenv"}"
fi

if [[ ! -z "$rvm_archflags" ]] ; then rvm_make_flags_flag=1 ; fi

rvm_project_rvmrc="${rvm_project_rvmrc:-1}"
rvm_project_rvmrc_default="${rvm_project_rvmrc_default:-0}"

if [[ -z "$rvm_scripts_path" ]] ; then
  if [[ -d "$HOME/.rvm/scripts" ]] && [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
    rvm_scripts_path="$HOME/.rvm/scripts"
  elif [[ -d "$rvm_path/scripts" ]] && [[ -s "$rvm_path/scripts/rvm" ]]; then
    rvm_scripts_path="$rvm_path/scripts"
  fi
fi

rvm_archives_path="${rvm_archives_path:-"$rvm_path/archives"}"
rvm_src_path="${rvm_src_path:-"$rvm_path/src"}"
rvm_log_path="${rvm_log_path:-"$rvm_path/log"}"
rvm_bin_path="${rvm_bin_path:-"$rvm_path/bin"}"
rvm_gem_path="${rvm_gem_path:-"$rvm_path/gems"}"
rvm_rubies_path="${rvm_rubies_path:-"$rvm_path/rubies"}"
rvm_config_path="${rvm_config_path:-"$rvm_path/config"}"
rvm_hooks_path="${rvm_hooks_path:-"$rvm_path/hooks"}"
rvm_tmp_path="${rvm_tmp_path:-"$rvm_path/tmp"}"
rvm_symlink_path="${rvm_symlink_path:-/usr/local/bin}"
rvm_gem_options="${rvm_gem_options:-"--no-rdoc --no-ri"}"

export rvm_path rvm_rubies_path rvm_scripts_path rvm_archives_path rvm_src_path rvm_log_path rvm_bin_path rvm_gem_path rvm_config_path rvm_tmp_path rvm_hooks_path

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rvm-0.1.3 scripts/initialize
rvm-0.1.2 scripts/initialize
rvm-0.1.1 scripts/initialize