Skip to content

Instantly share code, notes, and snippets.

Working from home

Hiroshi SHIBATA hsbt

Working from home
Block or report user

Report or block hsbt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:618a57951f161ae8a278ec1d86fa92d4
generating parse.c
Traceback (most recent call last):
2: from ../ruby/tool/pure_parser.rb:1:in `<main>'
1: from ../ruby/tool/pure_parser.rb:1:in `gets'
../ruby/tool/pure_parser.rb:1:in `gets': Can't do inplace edit without backup (fatal)
NMAKE : fatal error U1077: 'C:\opt\scoop\apps\ruby\current\bin\ruby.exe' : リターン コード '0x1'
View gist:4b9c840172927010f9fbe4ceda0c432e
rubyci-recipe on  hocho via 💎 v2.8.0
‚ùØ bundle exec hocho apply --dry-run
=> Running on using mitamae
=> $ rsync -az --copy-links --copy-unsafe-links --delete --exclude\=.git --rsh ssh\ -o\ \"PubkeyAuthentication\=yes\"\ -o\ \"PasswordAuthentication\=yes\"\ -o\ \"PreferredAuthentications\=none,publickey,password,keyboard-interactive\"\ -o\ \"Compression\=true\"\ -o\ \"User\=hsbt\" .
rsync: This rsync lacks old-style --compress due to its external zlib. Try -zz.
rsync error: syntax or usage error (code 1) at main.c(1578) [server=3.1.3]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.3]
=> $ rm -rf /tmp/hocho-run-RAj4SScp6/itamae
$ rm -rf /tmp/hocho-run-RAj4SScp6/itamae
View gist:97234c3c1746cc0d08d405f74b7b8123
View gist:0b05102beb9221937c331a81533028f3
csv = <<-CSV
595,fiber,Fiber ignores ensure clause
4040,core,SystemStackError with Hash[*a] for Large _a_
4173,test,TestProcess#test_wait_and_sigchild が、たまに失敗する
4352,ruby3 core,"[patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)"
4405,win thread ext,WIN32OLE &amp; Threads incompatible
4434,thread maybenotbug,make test-all &quot;-j10000&quot; のように大きな並列数を与えると異常終了
4436,ruby3 lib,FileUtils verbose mode prints output to stderr
4443,core,odd evaluation order in a multiple assignment
5179,patch core,Complex#rationalize and to_r with approximate zeros
View gist:46dca58367ee37b68ca3bfcaa9f75815
commit 0cf884df64c307d4c9322e1ad7eb28f9e8efec31 (HEAD -> backport-ruby-core)
Author: Hiroshi SHIBATA <>
Date: 2019-11-12 15:44:19 +0900
Only enabled mon_owned condition with Ruby 2.5+
diff --git lib/rubygems/core_ext/kernel_require.rb lib/rubygems/core_ext/kernel_require.rb
index d2bcc508e5..0be5172040 100644
--- lib/rubygems/core_ext/kernel_require.rb
+++ lib/rubygems/core_ext/kernel_require.rb
View gist:7b6c7dc03c8bc604976691f883ad9ace
‚ùØ mk test-spec
../revision.h unchanged
generating x86_64-darwin19-fake.rb
creating verconf.h
compiling ../builtin.c
verconf.h updated
x86_64-darwin19-fake.rb updated
compiling ../loadpath.c
linking static-library libruby.2.7-static.a
linking ruby
View gist:3d7a66222f7b5d67fca46c9cf4c06f33
[47/71] TestRequire#test_require_insecure_path = 0.01 s
3) Failure:
TestRequire#test_require_insecure_path [/Users/hsbt/Documents/]:
Expected "Insecure operation - symlink?" to include "loading from unsafe path".
[48/71] TestRequire#test_require_insecure_path_shift_jis = 0.01 s
4) Failure:
TestRequire#test_require_insecure_path_shift_jis [/Users/hsbt/Documents/]:
Expected "Insecure operation - symlink?" to include "loading from unsafe path".
View gist:c1d36cd8d2c17cab0c8b2f004081ea9e
View gist:7f6bc33d0f4aba73687939ce918f6650
Building native extensions. This could take a while...
ERROR: Error installing re2:
ERROR: Failed to build gem native extension.
current directory: /Users/hsbt/.local/share/gem/gems/re2-1.1.1/ext/re2
/Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/bin/ruby -I /Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/lib/ruby/2.7.0 -r ./siteconf20191011-73210-15xrm7g.rb extconf.rb
checking for -lstdc++... yes
checking for stdint.h... yes
checking for rb_str_sublen()... yes
checking for -lre2... yes
View gist:4263fa1f42657a046ffaf5b8a304ed27
Bundler::GemRequireError: There was an error while trying to load the gem 'middleman'.
Gem Load Error is: can't modify frozen String: "should_ignore?"
Backtrace for gem load error is:
/Users/hsbt/.local/share/gem/gems/memoist-0.16.0/lib/memoist.rb:47:in `sub!'
You can’t perform that action at this time.