ruby - rbenv install 2.4.0 fails in Mac OS Sierra 10.12.6 -


> rbenv install 2.4.0 ruby-build: use openssl homebrew downloading > ruby-2.4.0.tar.bz2... > -> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2 installing ruby-2.4.0... ruby-build: use readline homebrew >  > build failed (os x 10.12.6 using ruby-build 20170726) >  > inspect or clean working tree @ > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759 > results logged > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759.log >  > last 10 log lines:   referenced from: /usr/local/bin/tar   expected > in: /usr/lib/libsystem.b.dylib >  > dyld: symbol not found: _utimensat   referenced from: > /usr/local/bin/tar   expected in: /usr/lib/libsystem.b.dylib >  > /usr/local/bin/ruby-build: line 344: 21953 abort trap: 6           tar > $tar_args "$package_filename" > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759/ruby-2.4.0 > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759 > ~/documents/github /usr/local/bin/ruby-build: line 563: ./configure: > no such file or directory 

contents /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build‌​.20170728015414.2175‌​9.log

dyld: lazy symbol binding failed: symbol not found: _utimensat
referenced from: /usr/local/bin/tar expected in: /usr/lib/libsystem.b.dylib

dyld: symbol not found: _utimensat referenced from: /usr/local/bin/tar expected in: /usr/lib/libsystem.b.dylib

/usr/local/bin/ruby-build: line 344: 21953 abort trap: 6 tar $tar_args "$package_filename" /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759/ruby-2.4.0 /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759 ~/documents/github /usr/local/bin/ruby-build: line 563: ./configure: no such file or directory

brew uninstall tar   rbenv install ruby 2.4.0 

now works, looks gnu-tar didn't play mac os 10.12.16 @ moment, must fall native macos tar

thanks @lucascosta


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -