Add this line to your application's Gemfile:
gem 'sq_ruby_grep'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sq_ruby_grep
$ sq_ruby_grep <pattern> <file> [options]
-A, --after-context=NUM Print NUM lines of trailing context after matching lines.
-B, --before-context=NUM Print NUM line of leading context before matching lines.
--not-colorize Without colorize
-h, --help Prints this help