Project

General

Profile

Actions

Bug #5032

closed

Gem::Specification#loaded? が常に false を返す

Added by okkez (okkez _) almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
1.9.3
Backport:
[ruby-dev:44117]

Description

1.9.3 の RubyGems で Gem::Specification#loaded? が deprecated になったのですが、
常に false を返すようです。かわりに使えと言われる Gem::Specification#activated? は gemspec がロードできているときは
ちゃんと true を返してくれます。

rabbit の 1.0.0 では Gem::Specification#loaded? を使っているので新しい RubyGems を使うとちゃんと動きません。

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0