class Bundler::Thor::Command

def sans_backtrace(backtrace, caller) #:nodoc:

:nodoc:
def sans_backtrace(backtrace, caller) #:nodoc:
  saned = backtrace.reject { |frame| frame =~ FILE_REGEXP || (frame =~ /\.java:/ && RUBY_PLATFORM =~ /java/) || (frame =~ %r{^kernel/} && RUBY_ENGINE =~ /rbx/) }
  saned - caller
end