Skip to content

Commit

Permalink
Check for Gem against Object, not Kernel.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom committed Aug 28, 2009
1 parent 56a41c7 commit 3049b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -15,7 +15,7 @@ require "rubygems"
require "rake/gempackagetask"
require "rake/rdoctask"

if Kernel.const_defined?(:Gem)
if Object.const_defined?(:Gem)
# This builds the actual gem. For details of what all these options
# mean, and other ones you can add, check the documentation here:
#
Expand Down

0 comments on commit 3049b83

Please sign in to comment.