General

Profile

Tietew (Toru Iwase)

  • Login: Tietew
  • Email: tietew@tietew.net
  • Registered on: 07/02/2008
  • Last sign in: 03/03/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 12 12

Activity

12/09/2021

07:53 AM Ruby Bug #18398: bundler cannot install digest
Seems to be resolved. Thank you.
Run `gem install`with `--pre` under bundler ... ok
```
$ bundle exec gem install digest --pre
Fetching digest-3.1.0.pre3.gem
Building native extensions. This could take a while...
Successfully i...
Tietew (Toru Iwase)
05:33 AM Ruby Bug #18398 (Closed): bundler cannot install digest
`bundle install` gives up installing `digest` gem
due to trying to write `digest.so` in global site_ruby directory (not writable).
# How to reproduce
In clean directory, create a following Gemfile:
``` ruby
source 'https://rubyg...
Tietew (Toru Iwase)

12/04/2019

03:01 AM Ruby Bug #16382: SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
same issue with 2.6.5 [x86_64-linux].
I think backport 2.6 is REQUIRED.
```
~/tmp/テスト$ echo "puts 'ok'" > aaa.rb
~/tmp/テスト$ ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
~/tmp/テスト$ LC_ALL="C" RUBYLIB=".:" ruby...
Tietew (Toru Iwase)

08/28/2019

10:58 AM Ruby Bug #15900: Resolv::DNS#each_name doesn't accept Resolv::IPv{4,6} against documents
Could you please backport to 2.5 and 2.6? Tietew (Toru Iwase)

07/31/2019

04:42 AM Ruby Bug #15994: irb miscalculates nest level when typing do keyword
Posted: https://github.com/ruby/irb/issues/21 Tietew (Toru Iwase)

07/11/2019

06:55 AM Ruby Bug #15994 (Rejected): irb miscalculates nest level when typing do keyword
While typing `while`, `until` and `for`, IRB miscalculates indent level after typing `do`.
Without `do`, everything OK.
```
irb(main):001:1* while false
irb(main):002:0> end
=> nil
```
Just after typing `do` (before ENTER), ne...
Tietew (Toru Iwase)

06/25/2019

05:07 AM Ruby Bug #15957 (Closed): Splatting nil as **kwargs
Splatting nil as *array is ignored silently.
```ruby
[1, *nil]
# => [1, 2]
```
But splatting nil as **kwargs raises TypeError.
```ruby
{foo: 1, **nil}
# => no implicit conversion of nil into Hash (TypeError)
```
Is this int...
Tietew (Toru Iwase)
04:55 AM Ruby Bug #15956 (Closed): `{*nil}` causes confusing error message
```
$ ruby -e 'p({*nil})'
-e:1: syntax error, unexpected *, expecting '}'
p({*nil})
-e:1: Can't assign to nil
p({*nil})
```
First syntax error is intended.
But second error message `Can't assign to nil` is confusing.
This ha...
Tietew (Toru Iwase)

06/05/2019

11:05 AM Ruby Bug #15900 (Closed): Resolv::DNS#each_name doesn't accept Resolv::IPv{4,6} against documents
In resolv library, document says `Resolv::DNS#each_name` accepts `String`, `Resolv::IPv4` and `Resolv::IPv6`.
But `Resolv::DNS::IPv{4,6}` raises ResolvError.
```ruby
require 'resolv'
dns = Resolv::DNS.new
dns.each_name(Resolv::IPv...
Tietew (Toru Iwase)

01/31/2019

12:06 PM Ruby Bug #15577 (Closed): FileUtils.remove_entry_secure() raises unexpected NameError
## How to reproduce
```
$ sudo mkdir /tmp/foobar
$ ruby -rfileutils -e 'FileUtils.remove_entry_secure("/tmp/foobar")'
Traceback (most recent call last):
4: from -e:1:in `<main>'
3: from /usr/local/anyenv/envs/rben...
Tietew (Toru Iwase)

Also available in: Atom