Could you add a flag to gem pristine to allow only rebuilding binstubs without rebuilding extensions, this is meant to remove this part of my custom code: https://github.com/mpapis/rubygems-bundler/blob/master/lib/rubygems-bundler/regenerate_binstubs_command.rb
Looks like there's an option in gem pristine to restore gems with no extensions, is that what you're looking for?
it's not the same, this option skips gems with extensions, my intention is to rebuild all binstubs, but do not touch extensions.
+ Added --only-executables option to `gem pristine`. Fixes #326