Change The Ruby Environment with Backtrack 5 Shell Script
NOTE: I also posted this to the BeEF Project Wiki here (SetRubyEnvironment) Some Backtrack 5 security tools need ruby 1.8 (i.e. whatweb) and others ruby 1.9.2 (i.e. BeEF). This script automates the switch. By setting the ruby environment to the correct ruby version we can run all tools. This script aims to make this small …