Struggling with getting rbenv up and running on my mac:
macOS 10.13.2
rbenv 1.1.1
OpenSSL 1.1.0g 2 Nov 2017 (tried different without specifying 1.1 as well)
curl 7.57.0
% which rbenv
/usr/local/bin/rbenv
% which openssl
/usr/local/opt/[email protected]/bin/openssl
% which curl
/usr/local/opt/curl/bin/curl
rbenv, curl, openssl - all in PATH
% rbenv install 2.4.1
ruby-build: use openssl from homebrew
Downloading ruby-2.4.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2
Installing ruby-2.4.1...
BUILD FAILED (OS X 10.13.2 using ruby-build 20171215)
Inspect or clean up the working tree at /var/folders/31/41tck3qx69scnynksxc_38ch0000gn/T/ruby-build.20171220150125.94300
Results logged to /var/folders/31/41tck3qx69scnynksxc_38ch0000gn/T/ruby-build.20171220150125.94300.log
Last 10 log lines:
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 0
checking size of short... 0
checking size of long... 0
checking size of long long... configure: error: in `/var/folders/31/41tck3qx69scnynksxc_38ch0000gn/T/ruby-build.20171220150125.94300/ruby-2.4.1':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
Tried all solutions listed above - nothing helped.
Any suggestion?
How did you solve this @nishanov ?
@rickyPanzer sorry for late response. I couldn't solve the problem and logged new issue here: https://github.com/rbenv/rbenv/issues/1059
Most helpful comment
How did you solve this @nishanov ?