Skip to content

Instantly share code, notes, and snippets.

@gregclar
Created February 25, 2013 01:06
Show Gist options
  • Save gregclar/5026635 to your computer and use it in GitHub Desktop.
Save gregclar/5026635 to your computer and use it in GitHub Desktop.
gregs-retina-mbp13 Mon Feb 25 11:23:00 greg [ruby: 1.9.3-p374] ~/tmp
$ rbenv install 1.9.3-p392
Downloading yaml-0.1.4.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /Users/greg/.rbenv/versions/1.9.3-p392
Downloading ruby-1.9.3-p392.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
Installing ruby-1.9.3-p392...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/2k/2dtlfwdd3899cr2bzs8459m80000gn/T/ruby-build.20130225114749.46842
Results logged to /var/folders/2k/2dtlfwdd3899cr2bzs8459m80000gn/T/ruby-build.20130225114749.46842.log
Last 10 log lines:
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
st.c:520:35: error: implicit conversion loses integer precision: 'st_index_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
i = table->num_entries++;
~ ~~~~~~~~~~~~~~~~~~^~
1 error generated.
make: *** [st.o] Error 1
make: *** Waiting for unfinished jobs....
gregs-retina-mbp13 Mon Feb 25 11:49:39 greg [ruby: 1.9.3-p374] ~/tmp
$ brew tap homebrew/dupes
Error: Already tapped!
gregs-retina-mbp13 Mon Feb 25 11:55:06 greg [ruby: 1.9.3-p374] ~/tmp
$ brew install apple-gcc42
Error: apple-gcc42-4.2.1-5666.3 already installed
gregs-retina-mbp13 Mon Feb 25 11:55:26 greg [ruby: 1.9.3-p374] ~/tmp
$ CC=/usr/bin/gcc rbenv install 1.9.3-p392
Downloading yaml-0.1.4.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /Users/greg/.rbenv/versions/1.9.3-p392
Downloading ruby-1.9.3-p392.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
Installing ruby-1.9.3-p392...
Installed ruby-1.9.3-p392 to /Users/greg/.rbenv/versions/1.9.3-p392
gregs-retina-mbp13 Mon Feb 25 12:00:51 greg [ruby: 1.9.3-p374] ~/tmp
$ rbenv versions
system
1.8.7-p370
1.9.3-p327
* 1.9.3-p374 (set by /Users/greg/.rbenv/version)
1.9.3-p392
jruby-1.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment