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
# Licensed to the Apache Software Foundation (ASF) under one or more | |
# contributor license agreements. See the NOTICE file distributed with | |
# this work for additional information regarding copyright ownership. | |
# The ASF licenses this file to You under the Apache License, Version 2.0 | |
# (the "License"); you may not use this file except in compliance with | |
# the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
export PATH ; PATH="/Users/admin/.rvm/gems/ruby-1.8.7-p357@global/bin:/Users/admin/.rvm/gems/ruby-1.8.7-p357@global/bin:/Users/admin/.rvm/rubies/ruby-1.8.7-p357/bin:/Users/admin/.rvm/bin:$PATH" | |
export rvm_env_string ; rvm_env_string='ruby-1.8.7-p357@global' | |
export rvm_path ; rvm_path='/Users/admin/.rvm' | |
export rvm_ruby_string ; rvm_ruby_string='ruby-1.8.7-p357' | |
export rvm_gemset_name ; rvm_gemset_name='global' | |
export RUBY_VERSION ; RUBY_VERSION='ruby-1.8.7-p357' | |
export GEM_HOME ; GEM_HOME='/Users/admin/.rvm/gems/ruby-1.8.7-p357@global' | |
export GEM_PATH ; GEM_PATH='/Users/admin/.rvm/gems/ruby-1.8.7-p357@global' | |
export MY_RUBY_HOME ; MY_RUBY_HOME='/Users/admin/.rvm/rubies/ruby-1.8.7-p357' | |
export IRBRC ; IRBRC='/Users/admin/.rvm/rubies/ruby-1.8.7-p357/.irbrc' |
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
#!/usr/bin/env bash | |
if [[ -s "/Users/admin/.rvm/environments/ruby-1.8.7-p357@global" ]] | |
then | |
source "/Users/admin/.rvm/environments/ruby-1.8.7-p357@global" | |
exec ruby "$@" | |
else | |
echo "ERROR: Missing RVM environment file: '/Users/admin/.rvm/environments/ruby-1.8.7-p357@global'" >&2 | |
exit 1 | |
fi |
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
admins-MacBook-Pro-3:~ admin$ . /usr/sbin/envvars | |
admins-MacBook-Pro-3:~ admin$ which ruby | |
/Users/admin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby | |
admins-MacBook-Pro-3:~ admin$ ruby -rrbconfig -e 'puts RbConfig::CONFIG.sort.map{|k,v| "#{k}: #{v}" }' | |
ALLOCA: | |
AR: ar | |
ARCHFILE: | |
ARCH_FLAG: | |
AS: as | |
ASFLAGS: |
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
admins-MacBook-Pro-3:~ admin$ rvm system do ruby -rrbconfig -e 'puts RbConfig::CONFIG.sort.map{|k,v| "#{k}: #{v}" }' | |
ALLOCA: | |
AR: ar | |
ARCHFILE: | |
ARCH_FLAG: | |
AS: as | |
ASFLAGS: | |
CC: xcrun cc | |
CCDLFLAGS: -fno-common | |
CFLAGS: -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common |
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
admins-MacBook-Pro-3:~ admin$ /Users/admin/.rvm/wrappers/ruby-1.8.7-p357@global/ruby -e 'require "rbconfig"; puts RbConfig::CONFIG.sort.map{|k,v| "#{k}: #{v}" }' | |
ALLOCA: | |
AR: ar | |
ARCHFILE: | |
ARCH_FLAG: | |
AS: as | |
ASFLAGS: | |
CC: /usr/local/bin/gcc-4.2 | |
CCDLFLAGS: -fno-common | |
CFLAGS: -g -O2 -fno-common -pipe -fno-common |
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
admins-MacBook-Pro-3:~ admin$ rvm info | |
ruby-1.8.7-p357@global: | |
system: | |
uname: "Darwin admins-MacBook-Pro-3.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64" | |
system: "osx/10.7/x86_64" | |
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)" | |
zsh: "/bin/zsh => zsh 4.3.11 (i386-apple-darwin11.0)" |