Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scalabl3 committed Apr 12, 2014
1 parent e0acfc3 commit 9711ce3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/models/document_store.rb
Expand Up @@ -5,15 +5,15 @@ module DocumentStore
include Term::ANSIColor


setting_hash = { :node_list => Yetting.couchbase_servers,
setting_hash = { :node_list => ENV['couchbase_servers'].split(","),
:pool => "default",
:bucket => Yetting.couchbase_bucket,
:bucket => 'default',
:port => 8091
}
if (Yetting.couchbase_password && !Yetting.couchbase_password.empty?)
setting_hash[:username] = Yetting.couchbase_bucket
setting_hash[:password] = Yetting.couchbase_password
end
# if (Yetting.couchbase_password && !Yetting.couchbase_password.empty?)
# setting_hash[:username] = Yetting.couchbase_bucket
# setting_hash[:password] = Yetting.couchbase_password
# end


CB = Couchbase.connect(setting_hash)
Expand Down

0 comments on commit 9711ce3

Please sign in to comment.