Gem.cache is going to be deprecated, use source_index instead

This commit is contained in:
Aaron Patterson 2011-02-21 13:27:10 -08:00
parent 52f8e4b9da
commit 442f8dbc69
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ rescue LoadError
begin
# bust gem prelude
if defined? Gem
Gem.cache
Gem.source_index
gem 'bundler'
else
require 'rubygems'