[Win32utils-devel] win32 gem loading issue

Heesob Park phasis at gmail.com
Wed Oct 6 22:16:24 EDT 2010

Hi Dan,

2010/10/7 Daniel Berger <djberg96 at gmail.com>:
> I noticed that if I do this:
> require 'win32/file' # Or 'ptools'
> require 'win32/dir'
> I get an error. But if I just do require 'win32/dir', then it works. If I
> flip the order it also works.
> I can only guess that we've redefined some method that's breaking Rubygems
> path searching.
> Ideas?
> Dan
I found that the breaking path searching method is join

    def join(*args)
      return join_orig(*args).tr("/", "\\")

Park Heesob

More information about the win32utils-devel mailing list