Metasploit 3 on FreeBSD
I've wanted to try Metasploit 3 since it was released in late March. I noticed the metasploit/devel FreeBSD port, but it wanted me to install framework-3.0-beta-3-svn.tar.gz. I decided to install Metasploit 3 (gold) manually, using the FreeBSD port dependencies for guidance. I installed the following via the ports tree: devel/subversion devel/ruby-gems databases/rubygem-activerecord lang/ruby18 Then I extracted the framework-3.0.tar.gz I downloaded to /usr/local/src. When I tried to run msfweb, I got this error: Cannot find gem for Rails ~> 1.2.2.0: Install the missing gem with “gem install - v=1.2.2 rails”, or change environment.rb to define RAILS_GEM_VERSION with your desired version. Hmm. First I decided I needed to install www/rubygem-rails, which I did. Next I looked in framework-3.0/data/msfweb/config and found environment.rb, with these lines which I added to specify 1.2.3 instead of 1.2.2: # Specifies gem version of Rails to use when vendor/rails is not present #...