Skip to content

Commit

Permalink
Fixing the Gem existance test using the defined? method
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon COURTOIS committed Oct 12, 2009
1 parent c4bdccf commit 16bd211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/absolute_renamer/external.rb
Expand Up @@ -14,7 +14,7 @@ class << self
include AbsoluteRenamer::UseConfig

def load_gems
if Gem
if defined?(Gem)
@gems = {}

find_gems
Expand Down

0 comments on commit 16bd211

Please sign in to comment.