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\

On Sep 13, 6:32 pm, Bigmac T. [email protected] 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

Bigmac T. wrote:

  1. win32-api 1.4.5 (x86-mswin32-60)
    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

Daniel B. wrote:

On Sep 13, 6:32�pm, Bigmac T. [email protected] 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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs