Adjust ruby targets in /etc/make.conf.

~ $ grep RUBY /etc/make.conf
RUBY_TARGETS="ruby18 ruby19"

And make sure that the USE flags for ruby-1.9 are OK.

~ # export ACCEPT_KEYWORDS="~amd64"
~ # emerge -av =dev-lang/ruby-1.9.3_p125
[ebuild  N     ] dev-libs/libyaml-0.1.4  USE="-doc -examples -static-libs -test" 461 kB
[ebuild  N     ] dev-util/ragel-6.7  USE="-vim-syntax" 1,156 kB
[ebuild  NS    ] dev-lang/ruby-1.9.3_p125 [1.8.7_p357] USE="berkdb -debug -doc -examples gdbm ipv6 ncurses rdoc readline -rubytests -socks5 ssl -tk -xemacs yaml" 9,508 kB
[ebuild  N     ] dev-ruby/rubygems-1.8.15  USE="-server -test" RUBY_TARGETS="-jruby -ree18 ruby18 ruby19" 246 kB
[ebuild  N     ] virtual/rubygems-4  RUBY_TARGETS="(ruby19)" 0 kB
[ebuild  N     ] virtual/rubygems-1  RUBY_TARGETS="(ruby18)" 0 kB
[ebuild  N     ] dev-ruby/rake-  USE="-bash-completion -doc -test" RUBY_TARGETS="-jruby -ree18 ruby18 ruby19" 109 kB
[ebuild  N     ] dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="-jruby -ree18 ruby18 ruby19" 107 kB
[ebuild  N     ] dev-ruby/json-1.6.4  USE="-doc -test" RUBY_TARGETS="-jruby -ree18 ruby18 ruby19" 415 kB
[ebuild  N     ] dev-ruby/rdoc-3.12  USE="-doc -test" RUBY_TARGETS="-jruby -ree18 ruby18 ruby19" 309 kB


Now will install Arachni from their Git repo.

~ # cd /opt
. # git clone git://
. # cd arachni
. # rake --trace install

Now Arachni is installed to this directory, executables under ./bin.

Running Arachni

Now that it's properly installed it's super easy.

~ # cd /opt/arachni/bin
. # ./arachni --test

There are over XXX tests to run, and it will take some time to execute. Also, note that Arachni will hammer your server and could trigger warnings/alerts from your IDS

See Also