Create a gist now

Instantly share code, notes, and snippets.

$ rbenv install 2.4.0-dev
Cloning https://github.com/ruby/ruby.git...
Installing ruby-trunk...
BUILD FAILED (OS X 10.11.6 using ruby-build 20160426)
Inspect or clean up the working tree at /var/folders/b5/rsnrc9zj3b9c32qqt6z6py51cq36q1/T/ruby-build.20161008132243.93304
Results logged to /var/folders/b5/rsnrc9zj3b9c32qqt6z6py51cq36q1/T/ruby-build.20161008132243.93304.log
Last 10 log lines:
Referenced from: /private/var/folders/b5/rsnrc9zj3b9c32qqt6z6py51cq36q1/T/ruby-build.20161008132243.93304/ruby-trunk/./miniruby (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /private/var/folders/b5/rsnrc9zj3b9c32qqt6z6py51cq36q1/T/ruby-build.20161008132243.93304/ruby-trunk/./miniruby (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
make: *** [.rbconfig.time] Trace/BPT trap: 5
make: *** Waiting for unfinished jobs....
make: *** [encdb.h] Trace/BPT trap: 5
@zunda
Owner
zunda commented Oct 8, 2016

fixed with rvm/rvm#3744

$ xcode-select --install
xcode-select: note: install requested for command line developer tools
$ rbenv install 2.4.0-dev
Cloning https://github.com/ruby/ruby.git...
Installing ruby-trunk...
Installed ruby-trunk to /Users/zunda/.rbenv/versions/2.4.0-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment