Win32-api [build, compile error?]

http://raa.ruby-lang.org/project/win32-api/

im on windows vista, im not sure how to create this library...

here is what my ruby tree looks like...
C:\Program Files\Metasploit\Framework3\lib\ruby\1.8\

···

--
Posted via http://www.ruby-forum.com/.

You shouldn't have to build it if you're using the one-click
installer. It should install the binary gem.

gem install win32-api

Regards,

Dan

···

On Sep 13, 6:32 pm, Bigmac Turdsplash <i8ig...@aim.com> wrote:

http://raa.ruby-lang.org/project/win32-api/

im on windows vista, im not sure how to create this library...

here is what my ruby tree looks like...
C:\Program Files\Metasploit\Framework3\lib\ruby\1.8\

Daniel Berger wrote:

http://raa.ruby-lang.org/project/win32-api/

im on windows vista, im not sure how to create this library...

here is what my ruby tree looks like...
C:\Program Files\Metasploit\Framework3\lib\ruby\1.8\

You shouldn't have to build it if you're using the one-click
installer. It should install the binary gem.

gem install win32-api

Regards,

Dan

I have done this,

Select which gem to install for your platform (i386-mswin32)
1. win32-api 1.4.5 (ruby)
2. win32-api 1.4.5 (x86-mswin32-60)
3. win32-api 1.4.4 (x86-mswin32-60)
4. win32-api 1.4.4 (ruby)

2

Successfully installed win32-api-1.4.5-x86-mswin32-60
Installing ri documentation for win32-api-1.4.5-x86-mswin32-60...
Installing RDoc documentation for win32-api-1.4.5-x86-mswin32-60...

that one gives me no errors but when i run my script that requires
win32/api.rb

require 'win32/api'
no such file or directory...

···

On Sep 13, 6:32�pm, Bigmac Turdsplash <i8ig...@aim.com> wrote:

--
Posted via http://www.ruby-forum.com/\.

Bigmac Turdsplash wrote:

Daniel Berger wrote:

http://raa.ruby-lang.org/project/win32-api/

im on windows vista, im not sure how to create this library...

here is what my ruby tree looks like...
C:\Program Files\Metasploit\Framework3\lib\ruby\1.8\

You shouldn't have to build it if you're using the one-click
installer. It should install the binary gem.

gem install win32-api

Regards,

Dan

I have done this,

Select which gem to install for your platform (i386-mswin32)
1. win32-api 1.4.5 (ruby)
2. win32-api 1.4.5 (x86-mswin32-60)
3. win32-api 1.4.4 (x86-mswin32-60)
4. win32-api 1.4.4 (ruby)

2

Successfully installed win32-api-1.4.5-x86-mswin32-60
Installing ri documentation for win32-api-1.4.5-x86-mswin32-60...
Installing RDoc documentation for win32-api-1.4.5-x86-mswin32-60...

that one gives me no errors but when i run my script that requires win32/api.rb

require 'win32/api'
no such file or directory...

First, I think you need to upgrade your rubygems library. Run "gem update --system". If that should fail, grab the source from http://www.rubyforge.org/projects/rubygems and install manually.

Next, make sure your RUBYOPT environment variable is set. Or, if you prefer, explicitly require 'rubygems' first before attempting to require 'win32/api'.

Regards,

Dan

···

On Sep 13, 6:32�pm, Bigmac Turdsplash <i8ig...@aim.com> wrote: