Installing ruby for metasploit

Posted on 2012-08-29
Last Modified: 2012-09-23
i have tried to install metasploit all day but no luck,
my system info:
Centos 6.0 64bit i has cpanel installed on it
i installed ruby via yum
Package ruby- already installed and latest version
but last time i check metasploit need ruby 1.9.1 and up

here's what i get with ruby 1.8.7 and metasploit:
[root@server script]# ./createuser
/opt/metasploit-4.4.0/apps/pro/msf3/lib/gemcache/ruby/1.9.1/arch/linux64/nokogiri-1.5.2/lib/nokogiri/ cannot open shared object file: No such file or directory - /opt/metasploit-4.4.0/apps/pro/msf3/lib/gemcache/ruby/1.9.1/arch/linux64/nokogiri-1.5.2/lib/nokogiri/ (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /opt/metasploit-4.4.0/apps/pro/msf3/lib/gemcache/ruby/1.9.1/arch/linux64/nokogiri-1.5.2/lib/nokogiri.rb:27
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /opt/metasploit-4.4.0/apps/pro/ui/config/boot.rb:35
        from ./createuser:8:in `require'
        from ./createuser:8

Open in new window

so any help guys
Question by:NoBoDyDD
    LVL 7

    Accepted Solution

    is this on a Centos VM?  if so I recommend just downloading the Backtrack VM, which has metasploit and many other awesome pen test tools on it.

    Author Comment

    nope , it is a normal server no gui thing, i will try to install vmware

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    This is a short article about OS X KeRanger, and what people can do to get rid of it.
    As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now