Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Load correct digest file, fixes broken Rubygems
  • Loading branch information
dbussink committed Jul 3, 2011
1 parent e2be2d5 commit 4b34345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/digest.rb
Expand Up @@ -4,10 +4,10 @@ module Digest
def self.const_missing(name)
case name
when :SHA256, :SHA384, :SHA512
path = "ext/digest/sha2/sha2"
path = "digest/sha2"
else
lib = name.to_s.downcase
path = "ext/digest/#{lib}/#{lib}"
path = "digest/#{lib}"
end

begin
Expand Down

0 comments on commit 4b34345

Please sign in to comment.