From: Bernard Kenik Date: 2009-12-19T01:50:30+09:00 Subject: Re: problem requiring gems under 1.9.1 mingw Luis Lavena wrote: > On Dec 18, 8:21�am, Michel Demazure wrote: >> >> 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. Additional note: OP should use: require 'windows/api' and not require 'windows-api' The latter causes error in both 1.8 and 1.9. bbiker -- Posted via http://www.ruby-forum.com/.