GemRunner is no longer automatically required by Rubygems 0.9.5
It’s well googled by now, but GemRunner isn’t required automatically now. This breaks the freezing of Rails, which throws ‘uninitialized constant Gem::GemRunner’. Florian Aßmann and bpdp have the fix: adding the require to framework.rake.
# snip
deps = %w(actionpack activerecord actionmailer activesupport actionwebservice)
require 'rubygems'
require 'rubygems/gem_runner' # require added here
Gem.manage_gems