lib/rubygems_plugin.rb in faster_rubygems-0.11.1 vs lib/rubygems_plugin.rb in faster_rubygems-0.12.0

- old
+ new

@@ -7,8 +7,12 @@ } Gem.pre_uninstall { |gem_installer_instance, gem_spec| if gem_installer_instance.spec.name == 'faster_rubygems' && RUBY_VERSION[0..2] == '1.8' - require "faster_rubygems/unoverride" # just in case + begin + require "faster_rubygems/unoverride" # just in case + rescue Errno::ENOENT + puts 'warning: unable to unoverride faster_rubygems--might be expected if you had several versions installed' + end end } \ No newline at end of file