Skip to content

Instantly share code, notes, and snippets.

@takuyan
Created February 25, 2013 02:04
Show Gist options
  • Save takuyan/5026876 to your computer and use it in GitHub Desktop.
Save takuyan/5026876 to your computer and use it in GitHub Desktop.
~ ‹2.0.0-p0› $ 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/takuyan/.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/xp/f4qwch59511fc3tb5c7bctkm0000gp/T/ruby-build.20130225105550.25809
Results logged to /var/folders/xp/f4qwch59511fc3tb5c7bctkm0000gp/T/ruby-build.20130225105550.25809.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....
~ ‹2.0.0-p0› $ export CC=gcc 1 ↵
~ ‹2.0.0-p0› $ 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/takuyan/.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/takuyan/.rbenv/versions/1.9.3-p392
~ ‹2.0.0-p0› $ rbenv versions
system
1.9.3-p125
1.9.3-p194
1.9.3-p327
1.9.3-p374
1.9.3-p385
1.9.3-p392
* 2.0.0-p0 (set by /Users/takuyan/.ruby-version)
2.0.0-preview1
2.0.0-preview2
2.0.0-rc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment