Metasploit mailing list archives

Re: Adding new gem to msf


From: Ty Miller <tyronmiller () gmail com>
Date: Mon, 17 Jan 2011 17:57:10 +1100

Hey Jacob,

$ ruby extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

Thx,
Ty


On Mon, Jan 17, 2011 at 11:09 AM, Jacob Hammack
<jacob.hammack () hammackj com>wrote:

Goto /usr/lib/ruby/gems/1.9.1/gems/base32-0.1.2/ext/

And type ruby extconf.rb

If that works type make. Send me the output from that


Sent from my Phone

On Jan 16, 2011, at 5:33 PM, Ty Miller <tyronmiller () gmail com> wrote:

Hey Jacob,

Thanks for the response ... unfortunatley not much ...

$ cat /usr/lib/ruby/gems/1.9.1/gems/base32-0.1.2/ext/gem_make.out
/usr/bin/ruby.exe extconf.rb install base32

Thx,
Ty


On Mon, Jan 17, 2011 at 9:39 AM, Jacob Hammack <<jacob.hammack () hammackj com>
jacob.hammack () hammackj com> wrote:

What is the content of the gem_make.out file?

Sent from my Phone

On Jan 16, 2011, at 3:50 PM, Ty Miller < <tyronmiller () gmail com>
tyronmiller () gmail com> wrote:

Hey guys,

How do I add a new ruby gem to msf? I'm running Win7 64-bit. I ran a msf
cygwin shell as an administrator, and then ran the following:

$ gem install base32
Building native extensions.  This could take a while...
ERROR:  Error installing base32:
        ERROR: Failed to build gem native extension.

/usr/bin/ruby.exe extconf.rb install base32


Gem files will remain installed in
/usr/lib/ruby/gems/1.9.1/gems/base32-0.1.2 for inspection.
Results logged to
/usr/lib/ruby/gems/1.9.1/gems/base32-0.1.2/ext/gem_make.out
Updating class cache with 0 classes...


Thanks,
Ty


_______________________________________________
<https://mail.metasploit.com/mailman/listinfo/framework>
https://mail.metasploit.com/mailman/listinfo/framework



_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: