diff --git a/lib/couchbase-orm/connection.rb b/lib/couchbase-orm/connection.rb index f2b34fa5..cda9dc76 100644 --- a/lib/couchbase-orm/connection.rb +++ b/lib/couchbase-orm/connection.rb @@ -5,7 +5,7 @@ class Connection @@config = nil def self.config @@config || { - :connection_string => "couchbase://#{ENV['COUCHBASE_HOST'] || 'localhost'}", + :connection_string => "couchbase://#{ENV['COUCHBASE_HOST'] || '127.0.0.1'}", :username => ENV['COUCHBASE_USER'], :password => ENV['COUCHBASE_PASSWORD'], :bucket => ENV['COUCHBASE_BUCKET']