Created
September 16, 2010 15:01
-
-
Save simplyb/582564 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system: | |
system: | |
uname: "Darwin petes-macbook.home 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386" | |
bash: "/bin/bash => GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)" | |
zsh: "/bin/zsh => zsh 4.3.4 (i386-apple-darwin9.0)" | |
rvm: | |
version: "rvm 1.0.9 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]" | |
homes: | |
gem: "not set" | |
ruby: "not set" | |
binaries: | |
ruby: "/opt/local/bin/ruby" | |
irb: "/opt/local/bin/irb" | |
gem: "/opt/local/bin/gem" | |
rake: "/opt/local/bin/rake" | |
environment: | |
PATH: "/usr/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin" | |
GEM_HOME: "" | |
GEM_PATH: "" | |
BUNDLE_PATH: "" | |
MY_RUBY_HOME: "" | |
IRBRC: "" | |
RUBYOPT: "" | |
gemset: "" | |
env | awk -F= '/^rvm_ruby_/{printf $1" "}' | |
echo ${ruby_string//-/ } | |
__rvm_remove_rvm_from_path ; printf "$PATH" | |
printf "$PATH" | awk -v RS=: -v ORS=: "/${rvm_path//\//\/}/ {next} {print}" | sed -e 's#:$##' | |
printf "$PATH" | awk -v RS=: -v ORS=: "/${rvm_path//\//\/}/ {next} {print}" | sed -e 's#:$##' | |
#!/usr/bin/env bash | |
declare rvm_verbose_flag=${rvm_verbose_flag:-0} | |
declare rvm_hook=${rvm_hook:-""} | |
if [[ -n "$rvm_hook" ]] ; then | |
if [[ -s "$rvm_path/hooks/$rvm_hook" ]] ; then | |
if [[ ${rvm_verbose_flag:-0} -gt 0 || ${rvm_debug_flag:-0} -gt 0 ]] ; then | |
"$rvm_path/scripts/log" "info" "running hook $rvm_hook" | |
fi | |
source "$rvm_path/hooks/$rvm_hook" | |
fi | |
fi | |
unset rvm_hook | |
awk '/:/{printf $NF"."}' "$rvm_path/lib/VERSION.yml" | |
env | awk -F= '/^rvm_ruby_/{printf $1" "}' | |
# Setup default configuration for rvm. | |
export rvm_path="/usr/local/rvm" | |
export rvm_prefix="/usr/local" | |
export rvm_bin_path="$rvm_prefix/bin" | |
export rvm_man_path="$rvm_prefix/share/man" | |
printf "$PATH" | \tr -s ':' '\n' | awk '!($0 in a){a[$0];print}' | \tr -s '\n' ':' | sed 's#:$##' | |
system: | |
system: | |
uname: "Darwin petes-macbook.home 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386" | |
bash: "/bin/bash => GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)" | |
zsh: "/bin/zsh => zsh 4.3.4 (i386-apple-darwin9.0)" | |
rvm: | |
version: "rvm 1.0.9 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]" | |
homes: | |
gem: "not set" | |
ruby: "not set" | |
binaries: | |
ruby: "/opt/local/bin/ruby" | |
irb: "/opt/local/bin/irb" | |
gem: "/opt/local/bin/gem" | |
rake: "/opt/local/bin/rake" | |
environment: | |
PATH: "/usr/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin" | |
GEM_HOME: "" | |
GEM_PATH: "" | |
BUNDLE_PATH: "" | |
MY_RUBY_HOME: "" | |
IRBRC: "" | |
RUBYOPT: "" | |
gemset: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment