Skip to content

Instantly share code, notes, and snippets.

@gotoken
Last active March 5, 2018 17:14
Show Gist options
  • Save gotoken/57ebcb61475084842b366f8723dbfdec to your computer and use it in GitHub Desktop.
Save gotoken/57ebcb61475084842b366f8723dbfdec to your computer and use it in GitHub Desktop.
$(rbenv root)/plugins/ruby-build/share/ruby-build/stable-snapshot
install_package "openssl-1.1.0g" "https://www.openssl.org/source/openssl-1.1.0g.tar.gz" mac_openssl --if has_broken_mac_openssl
install_package stable-snapshot "ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz" ldflags_dirs standard verify_openssl
@gotoken
Copy link
Author

gotoken commented Jan 23, 2018

CentOS 6.9 and rbenv install 2.5.0 don't work. It is known problem https://bugs.ruby-lang.org/issues/14234 but Ruby 2.5.1 has not been released yet. This is a workaround. Put as $(rbenv root)/plugins/ruby-build/share/ruby-build/stable-snapshot and run rbenv install stable-snapshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment