dogatana (Toshihiko Ichida)
Login: dogatana
Registered on: 09/10/2016
Last sign in: 09/05/2017
Issues
09/05/2017
11:51 AM
Ruby
Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
> あとは、RUBYLIB の場合だけで、-I などでは問題ないようですね。なるほど。 そうですね。 a2.rb で -I. を使用する場合だと、require が失敗するだけで、 いきなり終了する現象は出ません。 require が失敗するケースも対策されるとうれしいです。
dogatana (Toshihiko Ichida)
04:14 AM
Ruby
Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
仕事で使用している Windows 7 64bit の環境で試しましたが、現象発生します。 こちらで確認している条件は次の2点です。 * カレントディレクトに日本語を含む * RUBYLIB に . 設定されている ログを貼ります(プロンプトが2行になっています)が、どうでしょうか。 ~~~ C:\usr\sandbox\ruby\req\テスト $type a.rb puts 'a' require'./b' C:\usr\sa...
dogatana (Toshihiko Ichida)
09/04/2017
10:59 AM
Ruby
Bug #13863 (Closed): RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
こんにちは。 Windows 環境の ruby での話です。 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/49186 https://bugs.ruby-lang.org/issues/7881 について、これは少なくとも * ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32] * ruby 2.4.1p...
dogatana (Toshihiko Ichida)
10/14/2016
01:06 PM
Ruby
Bug #12841 (Closed): Kernel#exec(cmdname, arg1, ...) passes arg1 that is encoded strangely on Japanese Windows
Kernel#exec(cmdname, arg1, ...) 形式でプログラムを呼び出す際、argが日本語を含んでいると 化けた文字列が渡されます。 同じ内容を Kernel#excec(cmdline) 形式で呼び出すと問題は発生しません。 直接呼び出す場合は問題なし ~~~ > ruby test.rb あ arg: あ, enc: Window...
dogatana (Toshihiko Ichida)
10/13/2016
01:29 PM
Ruby
Misc #12835 (Closed): RDoc comment of String#casecmp
String#casecmp dose not return nil but raise TypError for incomparable argument. So ~~~ * str.casecmp(other_str) -> -1, 0, +1 or nil ~~~ should be like ~~~ * str.casecmp(other_str) -> -1, 0, +1 ~~~ or ~~~...
dogatana (Toshihiko Ichida)
09/18/2016
01:38 PM
Ruby
Bug #12774: TkDND cannot handle text/plain, text/uri-list type well
# I'm sorry that I posted this to ruby-core unintentionally. # It seems that I cannot change the property of this ticket # by myself, so I try to explain this in English ext/tk/lib/tkextlib/tkdnd.rb cannot handle text and filelis...
dogatana (Toshihiko Ichida)
01:29 PM
Ruby
Bug #12774 (Rejected): TkDND cannot handle text/plain, text/uri-list type well
dogatana (Toshihiko Ichida)
09/11/2016
10:51 PM
Ruby
Bug #12749: 2.4 preview で gem をインストールできません
Preview はRuby本体だけで、zlibなどは別途用意する事と理解しました。 お手数ですが close にしていただけますか。
dogatana (Toshihiko Ichida)
01:17 PM
Ruby
Bug #12749 (Rejected): 2.4 preview で gem をインストールできません
gem をインストールしようとするとエラーになります。 zlib が足りないようですが、対処方法がわかりませんでした。 preview はやはり敷居が高いですね。 ~~~ > gem list *** LOCAL GEMS *** bigdecimal (default: 1.2.8) did_you_mean (1.0.2) io-console (default: 0.4.6) json (defau...
dogatana (Toshihiko Ichida)
09:49 AM
Ruby
Bug #12748: irb の評価結果が2回表示されます
io.c の io_fwrite() に問題があるようです。 この関数内で #ifdef _WIN32 内の、rb_w32_write_console() と、その下の io_binwrite() の両方が呼び出されるために、2回出力されています。 リダイレクトすると片方だけになります。 ~~~ > ruby -e 'p 1' # io_fwrite: rb_w32 handle: 14c ...
dogatana (Toshihiko Ichida)
Also available in: Atom
Loading...