RSpec.configure do |config| ... # changes the config on the backtrace display to ignore the /gems/ folder config.backtrace_exclusion_patterns.push(/gems/) ... end