Couchbase Questions: Ruby SDK

Have a Question? Get it answered by our community

chin's picture
Asked 8 months 4 days ago
Latest activity 8 months 3 days ago

Unable to install couchbase gem on Windows

Hi, I'm trying to install the couchbase gem (https://github.com/couchbase/couchbase-ruby-client) on Windows Server 2012 with Ruby 2.0.0 but not having much luck. I keep getting the following error:

...
joeosburn's picture
Asked 8 months 4 days ago
Latest activity 8 months 4 days ago

How to ensure views get updated while running tests

I'm using couchbase-model with Ruby 1.9.3, and I'm running tests within RSpec.

I've created a User model, and I have a method called "authorize" that I want to use to validate logins, with an email and password. I also have a view called "by_email", which returns a key of the email...

oredi's picture
Asked 10 months 3 weeks ago
Latest activity 8 months 4 days ago

Ruby Couchbase & Couchbase Model working with Cucumber/ DatabaseCleaner

May I know if anyone has tried working on Cucumber/DatabaseCleaner and Rails/Couchbase.
I was able to run Cucumber with Rails/Couchbase but I wish to know if anyone knows how to use it with DatabaseCleaner to clean up the DB after running the scenarios. I understand that DatabaseCleaner...

javier4517's picture
Asked 11 months 4 days ago
Latest activity 11 months 3 days ago

Sample about how to retrieve Multiple Keys using the C client

Hello

We have been testing the C example in the couchbase documentation and so far so good.

We would like to be able to retrieve more than one Key in one call to lcb_get(...)

I was unable to find any example for the C client so we have wrote something which is working but I...

stijlfigurant's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Beer Sample + Rails + Remote database servers

Hey Guys,
When running rails server, I keep getting a

couchbase.rb:58:in `initialize': Connection failed: Connection refused (error=0x18) (Couchbase::Error::Connect)

with the...

abhish_gl's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

getting Couchbase::Error::Timeout

I am trying to write a small ruby program to connect to couchbase server and create a document. I am able to connect to couchbase server but when I try to do a get/set/touch I get a timeout error - (Couchbase::Error::Timeout)
sample:
--------------------------------------
...

piotrb's picture
Asked 1 year 3 months ago
Latest activity 1 year 3 months ago

Views + Tests ??

Hey Guys,

We're trying out CouchBase 2.0 and we're trying to write a few tests against views, it seems that its very difficult to keep the views consistant between runs, views end up either not having the data thats being tested or still having data from the previous test in them.

...

rick_g's picture
Asked 1 year 6 months ago
Latest activity 1 year 5 months ago

Ruby couchbase-1.2.0.z.beta2 fails to install with libcouchbase-2.0.0beta2

Hi,
I installed the server and the c client (via brew), but the gem won't install. Is there anything I am missing? Thanks!
This is the error I am getting:

gem install couchbase --pre
...
davidkerr's picture
Asked 1 year 7 months ago
Latest activity 1 year 7 months ago

Ruby SDK problem for developer preview (OS X)

The developer preview copy of the ruby gem is asking for 1.1.0dp8, and i'm on 2.0.0beta.
Any help to get around this would be great. thanks.
brew install https://raw.github.com/couchbase/homebrew/...

tocsin's picture
Asked 1 year 7 months ago
Latest activity 1 year 7 months ago

couchbase Client Time out with ruby 1.9.3

After we upgrade to rails 3.2.8 with ruby 1.9.3 (from 1.8.7), our couchbase client could no longer access our AWS cluster (couchbase 1.8 community edition).
1.9.3p194 :011 > c = Couchbase.new("http://ec2-184-169-...

Pages