diff options
author | Carl Lerche <carllerche@mac.com> | 2010-02-03 17:06:40 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-02-03 17:06:40 -0800 |
commit | c563003292bd36dc647b41016fad93d5b7324a07 (patch) | |
tree | 2e5193e9ad4b175ce7fb11bc2f27be921c934fe5 /lib/bundler/remote_specification.rb | |
parent | a567279a4b9ab04617999bd85c3fc09b50035562 (diff) | |
download | bundler-c563003292bd36dc647b41016fad93d5b7324a07.tar.gz |
Don't be super slow on 1.9
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r-- | lib/bundler/remote_specification.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb index b483f83a06..906ad17e57 100644 --- a/lib/bundler/remote_specification.rb +++ b/lib/bundler/remote_specification.rb @@ -47,7 +47,11 @@ module Bundler end def method_missing(method, *args, &blk) - _remote_specification.send(method, *args, &blk) + if Gem::Specification.new.respond_to?(method) + _remote_specification.send(method, *args, &blk) + else + super + end end end end
\ No newline at end of file |