How to change rubygems platform from x86-mingw32 to x86-mswin32-60 on windows

I make ruby ​​scripts in windows that include opening and closing the browser. To do this, I needed some special gems to interact with my own Windows system calls. But when I tried

> gem install sys-proctable

he gave

ERROR: Could not find a valid gem ´sys-proctable´ (>= 0), here is why: 
          Found sys-proctable (0.9.0), but was for platforms x86-darwin-8 
            ,x86-freebsd-7 ,x86-solaris-2.10 ,x86-linux ,x86-mswin32-60

The problem is that my gem installation does not have x86-mswin32-60 rubygems platform

> gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]

  ...

  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32

  ...

The problem seems to be related to my version of ruby ​​compiled using mingw libraries. So my question is: how can I get the ruby ​​version where rubygems platforms include x86-mswin32-60? I can not find any installers from rubyinstaller.org that are not mingw.

--- change ---

. , rubyinstaller.org , mswin32. , , , .

+3
1

gem --platform:

gem install sys-proctable --platform=x86-mswin32-60

, ,

, , , , .

, .

+5

Source: https://habr.com/ru/post/1755134/


All Articles