Actions
Bug #15655
closedUnable to handle Russian dirname on Windows
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.5p335 (2018-10-18 revision 65137) [x64-mingw32]
Description
I'm unable to work in a directory with a Russian name.
Running bundle exec ...
returns an error from Bundler saying that it couldn't locate the Gemfile (which is present)
# print current directory
> echo %CD%
=> D:\Евгений
# print contents at root
> ls
=> 404.html Gemfile _config.yml _posts about.markdown index.markdown
# List dependencies via Bundler
> bundle show
=> Could not locate Gemfile or .bundle/ directory
# Debug in IRB
> irb
irb(main):001:0> Dir.pwd
=> "D:/???????"
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Related to Bug #15993: 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir added
Updated by jeremyevans0 (Jeremy Evans) over 3 years ago
- Status changed from Open to Closed
This appears to be fixed starting in Ruby 2.5 (also works in 2.6, 2.7, and 3.0):
C:\>C:\Ruby24-x64\bin\gem list bundler
*** LOCAL GEMS ***
bundler (2.2.20)
C:\>C:\Ruby25-x64\bin\gem list bundler
*** LOCAL GEMS ***
bundler (2.2.20)
D:\Евгений>C:\Ruby24-x64\bin\bundle show
Could not locate Gemfile or .bundle/ directory
D:\Евгений>C:\Ruby25-x64\bin\bundle show
Gems included by the bundle:
* bundler (2.2.20)
Actions
Like0
Like0Like0