Skip to content

Commit

Permalink
Fix for 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Nov 19, 2010
1 parent f42b256 commit 5af4189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dalli/socket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def readfull(count)

rescue LoadError

puts "Using standard socket IO (#{RUBY_ENGINE})" if $TESTING
if RUBY_ENGINE == 'jruby'
puts "Using standard socket IO (#{RUBY_DESCRIPTION})" if $TESTING
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'

class Dalli::Server::KSocket < TCPSocket
def self.open(host, port, options = {})
Expand Down

0 comments on commit 5af4189

Please sign in to comment.