# File lib/isolate/entry.rb, line 79
    def install
      old = Gem.sources.dup

      begin
        fire :installing, :installed do

          installer =
            Gem::DependencyInstaller.new(:development   => false,
                                         :generate_rdoc => false,
                                         :generate_ri   => false,
                                         :install_dir   => @sandbox.path)

          Gem::Command.build_args = Array(options[:args]) if options[:args]
          Gem.sources += Array(options[:source])          if options[:source]

          installer.install @file || name, requirement
        end
      ensure
        Gem.sources = old
        Gem::Command.build_args = nil
      end
    end