From: whiteleaf <2nd.leaf@...> Date: 2013-02-15T18:29:24+09:00 Subject: [ruby-list:49187] Re: 日本語を含むパスに置いたスクリプトで require が失敗 --f46d0444e835eeedf604d5bfed7b Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit whiteleaf です。 私も最近同じことが起こって、仕様だと何も疑わずに if RUBY_PLATFORM =~ /mswin(?!ce)|mingw|cygwin|bccwin/i require path.encode(Encoding::Windows_31J) end とかやっていましたが、過去のバージョンでは普通に動いてたんですね。 確かに File.exists?(path) #=> true require path #=> No such file という状況なのですごい気持ち悪いですね。 --f46d0444e835eeedf604d5bfed7b--