And then execute: $ bundle Or install it yourself as: $ gem install rufo Usage Format files or directories $ rufo file names or dir names Format STDIN $ cat file.rb | rufo Check that no formatting changes are produced $ rufo --check file names or dir names This will print one line for each file that isn't correctly formatted according to rufo , and will exit with exit code 1. Editor support Sublim