First we have to get subversion and build essential;
sudo apt-get install build-essential subversion
Now we need the Ruby requirements for Metasploit:
sudo apt-get install libruby rdoc libyaml-ruby libzlib-ruby libopenssl-ruby libdl-ruby libreadline-ruby libiconv-ruby rubygems sqlite3 libsqlite3-ruby libsqlite3-dev
Next, Ibex comes with a non-compatible default ruby install (Version 1.8.7) so you can get it from ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.bz2 or use the following to do so automatically from the shell using wget:
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.bz2
Now we remove our previously installed Ruby package:
sudo apt-get remove ruby
Then we extract, configure, make, and install our new version:
#tar -jvxf ruby-1.8.6-p111.tar.bz2
#cd ruby-1.8.6-p111
#./configure
#make
#sudo make install
Now to install metasploit:
svn co http://metasploit.com/svn/framework3/trunk/ metasploit-svn
to check it out we will cd into the msf-svn directory and run the console!
cd metasploit-svn
./msfconsole
And that should bring up your console-from here on out rely on metasploits documentation for usage!