On Dec 18, 8:21=A0am, Michel Demazure <mic... / demazure.com> wrote:
> I have both 1.8.6 and 1.9.1 (both mingw under windows).
>
> My code requires windows-api, which requires win32-api. It works under
> 1.8. Under 1.9, I get :
>
> F:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/api.rb:1=
:i n
> `require': no such file to load -- win32-api (LoadError)
> =A0 =A0 =A0 =A0 from
> F:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/api.rb:1=
:i n
> `<top (required)>'
>
> The loaded gems are the same under 1.8 and 1.9 :
> The win32-api gem is the mswin32 one : win32-api-1.4.5-x86-mswin32-60.
>
> Any idea ? Thanks !

1) You're using pre-compiled version of gems that are made to work on
1.8, not 1.9

Please install the DevKit for the MinGW version of Ruby and try
install the gem again.

--
Luis Lavena