Ruby on Rails Static Analysis Security Tool

Installing Brakeman

gem install

Brakeman is best installed via RubyGems:

gem install brakeman

This will provide the brakeman executable.


Brakeman can be added to a Gemfile:

gem "brakeman"

It is recommended to always use the latest version of Brakeman.

git clone

If you must have the latest and greatest, then you can build the gem yourself:

git clone git://
cd brakeman
gem build brakeman.gemspec
gem install brakeman-*.gem

Running Brakeman

More documentation