Issue #10945 has been updated by Usaku NAKAMURA.

Status changed from Open to Closed

----------------------------------------
Bug #10945: tool/rbinstall.rb typo on line 714 LoadErroe
https://bugs.ruby-lang.org/issues/10945#change-51794

* Author: Kate McDonald
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Received this error when running "make install" on ruby-2.2.1 latest stable:

./tool/rbinstall.rb:714:in `rescue in block in <main>': uninitialized constant LoadErroe (NameError)
        from ./tool/rbinstall.rb:712:in `block in <main>'
        from ./tool/rbinstall.rb:757:in `call'
        from ./tool/rbinstall.rb:757:in `block in <main>'
        from ./tool/rbinstall.rb:754:in `each'
        from ./tool/rbinstall.rb:754:in `<main>'
make: *** [do-install-all] Error 1

Code snippet:

    711 install?(:ext, :comm, :gem) do
    712   begin
    713     require "zlib"
    714   rescue LoadErroe
    715   end





-- 
https://bugs.ruby-lang.org/