Generalize the gem backtrace exclusion.

Previous regex matcher let gems slip through if a custom path was
provided to bundler (e.g. `bundle install --path ../bundle`). Remove any
explicit path dependencies on potential ruby version based directory
names.