Created
March 7, 2015 12:05
-
-
Save liamdawson/5b20f45ae59755dcbc9d to your computer and use it in GitHub Desktop.
Fixes a typo in MRI Ruby 2.2.1 when installing via rbenv's ruby-build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- tool/rbinstall.rb 2015-03-07 21:59:28.834830008 +1000 | |
+++ tool/rbinstall.rb.patch 2015-03-07 21:59:43.202830008 +1000 | |
@@ -711,7 +711,7 @@ | |
install?(:ext, :comm, :gem) do | |
begin | |
require "zlib" | |
- rescue LoadErroe | |
+ rescue LoadError | |
end | |
if defined?(Zlib) | |
require 'pathname' |
๐
rbenv install --patch 2.2.1 < 2.2.1-typo.patch
how to install via rvm??
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you ๐