 <p>I have modified this file : /opt/metasploit/ruby/lib/ruby/1.9.1/i686-linux/rbconfig.rb</p> <p>changed the line => CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static" by => CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) "</p> <p>go to /opt/metasploit/msf3 and run /opt/metasploit/ruby/bin/bundle install</p> <p>CREDIT -- <a href="http://top-hat-sec.com/forum/index.php?topic=2668.0" rel="nofollow">http://top-hat-sec.com/forum/index.php?topic=2668.0</a> -- BOBBY</p>