Skip to content

Instantly share code, notes, and snippets.

@bdefore
Created November 7, 2012 20:00
Show Gist options
  • Save bdefore/4034010 to your computer and use it in GitHub Desktop.
Save bdefore/4034010 to your computer and use it in GitHub Desktop.
[2012-11-07 11:58:05] make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "/usr/local/bin/gcc-4.2 -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/Users/d4/.rvm/usr/include -arch x86_64 -O3 -DL_ENDIAN -Wall"'; \
echo ' #define PLATFORM "darwin64-x86_64-cc"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
/usr/local/bin/gcc-4.2 -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/Users/d4/.rvm/usr/include -arch x86_64 -O3 -DL_ENDIAN -Wall -c -o cryptlib.o cryptlib.c
In file included from cryptlib.c:117:
cryptlib.h:62:20: error: stdlib.h: No such file or directory
cryptlib.h:63:20: error: string.h: No such file or directory
In file included from cryptlib.h:65,
from cryptlib.c:117:
../e_os.h:444:30: error: unistd.h: No such file or directory
../e_os.h:449:29: error: sys/types.h: No such file or directory
In file included from cryptlib.h:72,
from cryptlib.c:117:
../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory
In file included from cryptlib.h:72,
from cryptlib.c:117:
../include/openssl/crypto.h:175: error: expected specifier-qualifier-list before ‘size_t’
../include/openssl/crypto.h:465: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:465: error: expected declaration specifiers or ‘...’ before ‘size_t’
../include/openssl/crypto.h:466: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:467: error: expected ‘)’ before ‘const’
../include/openssl/crypto.h:468: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
../include/openssl/crypto.h:470: error: expected ‘)’ before ‘const’
../include/openssl/crypto.h:471: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
../include/openssl/crypto.h:477: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:477: error: expected declaration specifiers or ‘...’ before ‘size_t’
../include/openssl/crypto.h:478: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:479: error: expected ‘)’ before ‘const’
../include/openssl/crypto.h:480: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
../include/openssl/crypto.h:482: error: expected ‘)’ before ‘const’
../include/openssl/crypto.h:483: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
../include/openssl/crypto.h:500: error: expected declaration specifiers or ‘...’ before ‘size_t’
../include/openssl/crypto.h:535: error: expected ‘)’ before ‘*’ token
In file included from cryptlib.h:74,
from cryptlib.c:117:
../include/openssl/bio.h:634: error: expected ‘)’ before ‘*’ token
../include/openssl/bio.h:706: error: expected ‘)’ before ‘*’ token
../include/openssl/bio.h:707: error: expected ‘)’ before ‘*’ token
In file included from ../include/openssl/err.h:127,
from cryptlib.h:75,
from cryptlib.c:117:
../include/openssl/lhash.h:186: error: expected declaration specifiers or ‘...’ before ‘FILE’
../include/openssl/lhash.h:187: error: expected declaration specifiers or ‘...’ before ‘FILE’
../include/openssl/lhash.h:188: error: expected declaration specifiers or ‘...’ before ‘FILE’
In file included from cryptlib.h:75,
from cryptlib.c:117:
../include/openssl/err.h:140:19: error: errno.h: No such file or directory
In file included from cryptlib.h:75,
from cryptlib.c:117:
../include/openssl/err.h:343: error: expected ‘)’ before ‘*’ token
cryptlib.c: In function ‘CRYPTO_THREADID_set_numeric’:
cryptlib.c:430: warning: implicit declaration of function ‘memset’
cryptlib.c:430: warning: incompatible implicit declaration of built-in function ‘memset’
cryptlib.c: In function ‘CRYPTO_THREADID_set_pointer’:
cryptlib.c:441: warning: incompatible implicit declaration of built-in function ‘memset’
cryptlib.c: In function ‘CRYPTO_THREADID_current’:
cryptlib.c:507: error: ‘errno’ undeclared (first use in this function)
cryptlib.c:507: error: (Each undeclared identifier is reported only once
cryptlib.c:507: error: for each function it appears in.)
cryptlib.c: In function ‘CRYPTO_THREADID_cmp’:
cryptlib.c:513: warning: implicit declaration of function ‘memcmp’
cryptlib.c: In function ‘CRYPTO_THREADID_cpy’:
cryptlib.c:518: warning: implicit declaration of function ‘memcpy’
cryptlib.c:518: warning: incompatible implicit declaration of built-in function ‘memcpy’
cryptlib.c: In function ‘CRYPTO_thread_id’:
cryptlib.c:552: warning: implicit declaration of function ‘getpid’
cryptlib.c: In function ‘OPENSSL_showfatal’:
cryptlib.c:906: warning: implicit declaration of function ‘vfprintf’
cryptlib.c:906: error: ‘stderr’ undeclared (first use in this function)
cryptlib.c: In function ‘OpenSSLDie’:
cryptlib.c:918: warning: implicit declaration of function ‘abort’
cryptlib.c:918: warning: incompatible implicit declaration of built-in function ‘abort’
cryptlib.c: In function ‘OPENSSL_stderr’:
cryptlib.c:926: error: ‘stderr’ undeclared (first use in this function)
make[1]: *** [cryptlib.o] Error 1
make: *** [build_crypto] Error 1
@bdefore
Copy link
Author

bdefore commented Nov 7, 2012

Last login: Wed Nov 7 10:55:59 on ttys001
d4-3:~ $ which gcc
/usr/bin/gcc
d4-3:~ $ godev
d4-3:/Sync/Code/Projects $ cd foo/
ruby-1.9.3-p286 is not installed.
To install do: 'rvm install ruby-1.9.3-p286'
d4-3:
/Sync/Code/Projects/foo (master) $ rvm install ruby-1.9.3-p286

https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 - #configure
ruby-1.9.3-p286 - #download
There is no checksum for 'https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2?rvm=1.16.19' or 'bin-ruby-1.9.3-p286.tar.bz2', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.

Downloading https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 failed.
Mounting remote ruby failed, trying to compile.
Fetching yaml-0.1.4.tar.gz to /Users/d4/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/d4/.rvm/src
Error running 'tar xmzf /Users/d4/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/d4/.rvm/src', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/extract.log
Configuring yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running './configure --prefix=/Users/d4/.rvm/usr', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/configure.log
Compiling yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running 'make', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/make.log
Installing Ruby from source to: /Users/d4/.rvm/rubies/ruby-1.9.3-p286, this may take a while depending on your cpu(s)...
ruby-1.9.3-p286 - #downloading ruby-1.9.3-p286, this may take a while depending on your connection...
ruby-1.9.3-p286 - #extracted to /Users/d4/.rvm/src/ruby-1.9.3-p286 (already extracted)
ruby-1.9.3-p286 - #configuring
Error running 'env CFLAGS=-I/Users/d4/.rvm/usr/include LDFLAGS=-L/Users/d4/.rvm/usr/lib ./configure --enable-shared --disable-install-doc --prefix=/Users/d4/.rvm/rubies/ruby-1.9.3-p286', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/configure.log
There has been an error while running configure. Halting the installation.
override rw-r--r-- root/admin for /Users/d4/.rvm/user/installs? (y/n [n]) y
d4-3:~/Sync/Code/Projects/foo (master) $ rvm install ruby-1.9.3-p286
https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 - #configure
ruby-1.9.3-p286 - #download
There is no checksum for 'https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2?rvm=1.16.19' or 'bin-ruby-1.9.3-p286.tar.bz2', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.

Downloading https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 failed.
Mounting remote ruby failed, trying to compile.
Fetching yaml-0.1.4.tar.gz to /Users/d4/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/d4/.rvm/src
Error running 'tar xmzf /Users/d4/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/d4/.rvm/src', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/extract.log
Configuring yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running './configure --prefix=/Users/d4/.rvm/usr', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/configure.log
Compiling yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running 'make', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/make.log
Installing Ruby from source to: /Users/d4/.rvm/rubies/ruby-1.9.3-p286, this may take a while depending on your cpu(s)...
ruby-1.9.3-p286 - #downloading ruby-1.9.3-p286, this may take a while depending on your connection...
ruby-1.9.3-p286 - #extracted to /Users/d4/.rvm/src/ruby-1.9.3-p286 (already extracted)
ruby-1.9.3-p286 - #configuring
Error running 'env CFLAGS=-I/Users/d4/.rvm/usr/include LDFLAGS=-L/Users/d4/.rvm/usr/lib ./configure --enable-shared --disable-install-doc --prefix=/Users/d4/.rvm/rubies/ruby-1.9.3-p286', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/configure.log
There has been an error while running configure. Halting the installation.
d4-3:~/Sync/Code/Projects/foo (master) $ brew install libksba
Warning: Your Xcode (4.0) is outdated
Please install Xcode 4.5.1.
==> Installing libksba dependency: libgpg-error
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2

################################################################## 100.0%
################################################################## 100.0%==> ./configure --prefix=/usr/local/Cellar/libgpg-error/1.10

checking for gcc... /Developer/usr/bin/llvm-gcc
checking for C compiler default output file name...
configure: error: in /private/tmp/libgpg-error-NptG/libgpg-error-1.10': configure: error: C compiler cannot create executables Seeconfig.log' for more details.

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

d4-3:~/Sync/Code/Projects/foo (master) $ rvm install ruby-1.9.3-p286
https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 - #configure
ruby-1.9.3-p286 - #download
There is no checksum for 'https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2?rvm=1.16.19' or 'bin-ruby-1.9.3-p286.tar.bz2', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.

Downloading https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 failed.
Mounting remote ruby failed, trying to compile.
Fetching yaml-0.1.4.tar.gz to /Users/d4/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/d4/.rvm/src
Error running 'tar xmzf /Users/d4/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/d4/.rvm/src', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/extract.log
Configuring yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running './configure --prefix=/Users/d4/.rvm/usr', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/configure.log
Compiling yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running 'make', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/make.log
Installing Ruby from source to: /Users/d4/.rvm/rubies/ruby-1.9.3-p286, this may take a while depending on your cpu(s)...
ruby-1.9.3-p286 - #downloading ruby-1.9.3-p286, this may take a while depending on your connection...
ruby-1.9.3-p286 - #extracted to /Users/d4/.rvm/src/ruby-1.9.3-p286 (already extracted)
ruby-1.9.3-p286 - #configuring
Error running 'env CFLAGS=-I/Users/d4/.rvm/usr/include LDFLAGS=-L/Users/d4/.rvm/usr/lib ./configure --enable-shared --disable-install-doc --prefix=/Users/d4/.rvm/rubies/ruby-1.9.3-p286', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/configure.log
There has been an error while running configure. Halting the installation.
d4-3:/Sync/Code/Projects/foo (master) $ prof
d4-3:
/Sync/Code/Projects/foo (master) $ rvm requirements

Notes for Mac OS X 10.7.4, Xcode 4.5.2.

For JRuby: Install the JDK. See http://developer.apple.com/java/download/ # Current Java version "1.6.0_26"
For IronRuby: Install Mono >= 2.6
For Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba'

To use an RVM installed Ruby as default, instead of the system ruby:

rvm install 1.8.7 # installs patch 357: closest supported version
rvm system ; rvm gemset export system.gems ; rvm 1.8.7 ; rvm gemset import system.gems # migrate your gems
rvm alias create default 1.8.7

And reopen your terminal windows.

Xcode and gcc:

Right now Ruby requires gcc to compile, but Xcode 4.2 and later no longer ship with gcc. Instead they ship with llvm-gcc (to which gcc is a symlink) and clang, neither of which are supported for building Ruby. Xcode 4.1 was the last version to ship gcc, which was /usr/bin/gcc-4.2.

Xcode 4.1 and earlier:

  • Ruby will build fine.

Xcode 4.2 and later (including Command Line Tools for Xcode):

  • If you have gcc-4.2 (and friends) from an earlier Xcode version, Ruby will build fine.

  • If you don't have gcc-4.2, you have two options to get it:

    • Install apple-gcc42 from Homebrew
    • Install osx-gcc-installer

    Homebrew:

    If you are using Homebrew, you can install the apple-gcc42 and required libraries from homebrew/dupes:

    brew update
    brew tap homebrew/dupes
    brew install autoconf automake apple-gcc42
    rvm pkg install openssl
    

    Xcode 4.2+ install or/and Command Line Tools for Xcode is required to provide make and other tools.

    osx-gcc-installer:

    If you don't use Homebrew, you can download and install osx-gcc-installer: https://github.com/kennethreitz/osx-gcc-installer.

    Warning: Installing osx-gcc-installer on top of a recent Xcode is known to cause problems, so you must uninstall Xcode before installing osx-gcc-installer. Afterwards you may install Xcode 4.2+ or Command Line Tools for Xcode if you desire.

    ** NOTE: Currently, Node.js is having issues building with osx-gcc-installer. The only fix is to install Xcode over osx-gcc-installer.

d4-3:~/Sync/Code/Projects/foo (master) $ rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/d4/.rvm/archives
Extracting openssl-1.0.1c.tar.gz to /Users/d4/.rvm/src
Configuring openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Compiling openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Error running 'make', please read /Users/d4/.rvm/log/openssl/make.log

Please note that it's required to reinstall all rubies:

rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/d4/.rvm/log/openssl.certs.log
d4-3:/Sync/Code/Projects/foo (master) $ rvm reinstall all --force
d4-3:
/Sync/Code/Projects/foo (master) $ rm -rf /Users/d4/.rvm/archives/
d4-3:~/Sync/Code/Projects/foo (master) $ rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/d4/.rvm/archives
/Users/d4/.rvm/scripts/fetch: line 21: cd: /Users/d4/.rvm/archives: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4352k 100 4352k 0 0 200k 0 0:00:21 0:00:21 --:--:-- 210k
md5: /Users/d4/.rvm/archives/openssl-1.0.1c.tar.gz: No such file or directory
Downloaded archive checksum did not match, archive was removed!
If you wish to continue with not matching download add '--verify-downloads 2' after the command.

Please note that it's required to reinstall all rubies:

rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/d4/.rvm/log/openssl.certs.log
d4-3:/Sync/Code/Projects/foo (master) $ rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/d4/.rvm/archives
/Users/d4/.rvm/scripts/fetch: line 21: cd: /Users/d4/.rvm/archives: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 4352k 0 5506 0 0 4172 0 0:17:48 0:00:01 0:17:47 4929^C
d4-3:
/Sync/Code/Projects/foo (master) $ cd /Users/d4/.rvm/archives/
-bash: cd: /Users/d4/.rvm/archives/: No such file or directory
d4-3:/Sync/Code/Projects/foo (master) $ cd /Users/d4/.rvm/
d4-3:
/.rvm $ mkdir archives
d4-3:/.rvm $ cd -
/Users/d4/Sync/Code/Projects/foo
ruby-1.9.3-p286 is not installed.
To install do: 'rvm install ruby-1.9.3-p286'
d4-3:
/Sync/Code/Projects/foo (master) $ rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/d4/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4352k 100 4352k 0 0 295k 0 0:00:14 0:00:14 --:--:-- 482k
Extracting openssl-1.0.1c.tar.gz to /Users/d4/.rvm/src
Configuring openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Compiling openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Error running 'make', please read /Users/d4/.rvm/log/openssl/make.log

Please note that it's required to reinstall all rubies:

rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/d4/.rvm/log/openssl.certs.log
d4-3:/Sync/Code/Projects/foo (master) $ echo CDPATH
CDPATH
d4-3:
/Sync/Code/Projects/foo (master) $ unset CDPATH
d4-3:~/Sync/Code/Projects/foo (master) $ rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/d4/.rvm/archives
Extracting openssl-1.0.1c.tar.gz to /Users/d4/.rvm/src
Configuring openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Compiling openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Error running 'make', please read /Users/d4/.rvm/log/openssl/make.log

Please note that it's required to reinstall all rubies:

rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/d4/.rvm/log/openssl.certs.log
d4-3:/Sync/Code/Projects/foo (master) $
Last login: Wed Nov 7 11:52:25 on ttys000
d4-3:
$ brew update rvm
Already up-to-date.
d4-3:~ $ brew uninstall rvm
Error: No such keg: /usr/local/Cellar/rvm
d4-3:~ $ brew install rvm
Error: No available formula for rvm
d4-3:~ $ unset CDPATH
d4-3:~ $ rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/d4/.rvm/archives
Extracting openssl-1.0.1c.tar.gz to /Users/d4/.rvm/src
Configuring openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Compiling openssl in /Users/d4/.rvm/src/openssl-1.0.1c.
Error running 'make', please read /Users/d4/.rvm/log/openssl/make.log

Please note that it's required to reinstall all rubies:

rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/d4/.rvm/log/openssl.certs.log
d4-3:~ $ mate /Users/d4/.rvm/log/openssl/make.log
d4-3:~ $ godev
d4-3:/Sync/Code/Projects $ cd foo/
ruby-1.9.3-p286 is not installed.
To install do: 'rvm install ruby-1.9.3-p286'
d4-3:
/Sync/Code/Projects/foo (master) $ rvm install ruby-1.9.3-p286
https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 - #configure
ruby-1.9.3-p286 - #download
There is no checksum for 'https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2?rvm=1.16.19' or 'bin-ruby-1.9.3-p286.tar.bz2', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.

Downloading https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.3-p286.tar.bz2 failed.
Mounting remote ruby failed, trying to compile.
Fetching yaml-0.1.4.tar.gz to /Users/d4/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 460k 100 460k 0 0 435k 0 0:00:01 0:00:01 --:--:-- 448k
Extracting yaml-0.1.4.tar.gz to /Users/d4/.rvm/src
Error running 'tar xmzf /Users/d4/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/d4/.rvm/src', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/extract.log
Configuring yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running './configure --prefix=/Users/d4/.rvm/usr', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/configure.log
Compiling yaml in /Users/d4/.rvm/src/yaml-0.1.4.
Error running 'make', please read /Users/d4/.rvm/log/ruby-1.9.3-p286/yaml/make.log
Installing Ruby from source to: /Users/d4/.rvm/rubies/ruby-1.9.3-p286, this may take a while depending on your cpu(s)...
ruby-1.9.3-p286 - #downloading ruby-1.9.3-p286, this may take a while depending on your connection...
ruby-1.9.3-p286 - #extracted to /Users/d4/.rvm/src/ruby-1.9.3-p286 (already extracted)
ruby-1.9.3-p286 - #configuring
ruby-1.9.3-p286 - #compiling
ruby-1.9.3-p286 - #installing
Retrieving rubygems-1.8.24
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 371k 100 371k 0 0 519k 0 --:--:-- --:--:-- --:--:-- 1237k
Extracting rubygems-1.8.24 ...
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.9.3-p286 ...
Installation of rubygems completed successfully.
Saving wrappers to '/Users/d4/.rvm/bin'.
ruby-1.9.3-p286 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p286 - #importing default gemsets (/Users/d4/.rvm/gemsets/)
Install of ruby-1.9.3-p286 - #complete
d4-3:/Sync/Code/Projects/foo (master) $ ruby
which ruby^Cruby: Interrupt
d4-3:
/Sync/Code/Projects/foo (master) $ which ruby
/usr/bin/ruby
d4-3:/Sync/Code/Projects/foo (master) $ ruby -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
d4-3:
/Sync/Code/Projects/foo (master) $ cd ..
cdd4-3:/Sync/Code/Projects $ cd foo/
Using /Users/d4/.rvm/gems/ruby-1.9.3-p286
d4-3:
/Sync/Code/Projects/foo (master) $ which ruby
/Users/d4/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
d4-3:~/Sync/Code/Projects/foo (master) $

@bdefore
Copy link
Author

bdefore commented Nov 7, 2012

also installed xcode 4.5.1 and its command line tools. may have been the real source of the fix shrug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment