提交 2d644fd1 编写于 作者: M Matt Jones 提交者: Michael Koziarski

Mark gem as not loaded when spec not found

Signed-off-by: NMichael Koziarski <michael@koziarski.com>
上级 e28ad77b
......@@ -108,6 +108,8 @@ def loaded?
@loaded ||= begin
if vendor_rails?
true
elsif specification.nil?
false
else
# check if the gem is loaded by inspecting $"
# specification.files lists all the files contained in the gem
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册