Do you think you could [require the libraries directly](https://github.com/railsbp/rails_best_practices/blob/master/lib/rails_best_practices/command.rb#L133)?

```ruby
path = '.'
output_file = StringIO.new
options = {'output-file' => output_file, 'format' => 'yaml', 'without-color' => true}
analyzer = RailsBestPractices::Analyzer.new(path, options)
analyzer.analyze
@output =  analyzer.output
@errors = analyzer.runner.errors
```