Excludes gem related lines in your rspec backtraces.
Useful when you only want to see backtrace lines from your app and spec code.
note: path to helper file is relative
# File: .rspec
--require ./tmp/rspec_helper.rb| require "benchmark/ips" | |
| require_relative "./method_overloading" | |
| class Foo | |
| include MethodOverloading | |
| def call(number) | |
| "foo #{number}" | |
| end | |
| end |
| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
JPG:
$ brew install jpegoptim
$ find . -name "*.jpg" -exec jpegoptim -m80 -o -p --strip-all {} \;
- PNG:
$ brew install optipng
$ find . -name "*.png" -exec optipng -o7 {} \;
| vi /etc/environment | |
| add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |