Fix rare issue with rubinius, thor and gem_helper

Steps to reproduce:
1. Create thor task
2. Require 'bundler/gem_helper' inside it
3. any thor command will fail in rubinius with error: `Superclass mismatch: #<Class:0x699c> != #<Class:0x69a0>`