require 'bundler/setup' and use correct comparisons

Fixes #1 and #2, and reports correctly for my apps.  As @apsoto says, it may need more changes to work generically.