From: duerst@... Date: 2017-07-11T08:51:40+00:00 Subject: [ruby-core:82001] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems Issue #13737 has been updated by duerst (Martin D��rst). ko1 (Koichi Sasada) wrote: > Not sure why but r59310 will fix it (at least on my environment). To complete it i think we need to dig into rubygems deeply.... I got virtually the same error message on cygwin (with context just in case it helps): ``` xmlrpc-0.2.1.gem Traceback (most recent call last): 7: from ./tool/rbinstall.rb:844:in `
' 6: from ./tool/rbinstall.rb:844:in `each' 5: from ./tool/rbinstall.rb:847:in `block in
' 4: from ./tool/rbinstall.rb:805:in `block in
' 3: from ./tool/rbinstall.rb:805:in `each' 2: from ./tool/rbinstall.rb:807:in `block (2 levels) in
' 1: from /cygdrive/c/Data/ruby/lib/rubygems/installer.rb:261:in `spec' /cygdrive/c/Data/ruby/lib/rubygems/installer.rb:264:in `rescue in spec': invalid gem: package is corrupt, exception while verifying: can't modify frozen String (RuntimeError) in /cygdrive/c/Data/ruby/gems/xmlrpc-0.3.0.gem (Gem::InstallError) make: *** [uncommon.mk:310: do-install-nodoc] Error 1 ``` Same as for Koichi, the exception is gone now at `ruby 2.5.0dev (2017-07-11 trunk 59311) [x86_64-cygwin]`. ---------------------------------------- Bug #13737: "can't modify frozen String" when installing bundled gems https://bugs.ruby-lang.org/issues/13737#change-65733 * Author: usa (Usaku NAKAMURA) * Status: Assigned * Priority: Normal * Assignee: normalperson (Eric Wong) * Target version: 2.5 * ruby -v: trunk * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- After committed r59304, mswin CI often (but not always) reports errors when installing bundled gems. For example, http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20170710T020413Z.fail.html.gz I've not investigated it yet, but something wrong at the commit, I believe. -- https://bugs.ruby-lang.org/ Unsubscribe: