Skip to content

Instantly share code, notes, and snippets.

@zunda
Created October 8, 2016 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zunda/b64afa2d446b47377e92e7722d71f13f to your computer and use it in GitHub Desktop.
Save zunda/b64afa2d446b47377e92e7722d71f13f to your computer and use it in GitHub Desktop.
$ 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
Copy link
Author

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