Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

how to get the couchbase ruby client installed on mac os

7 replies [Last post]
  • Login or register to post comments
Tue, 01/24/2012 - 04:43
abhishek
Offline
Joined: 01/23/2012
Groups: None

I have got couchbase server up and running. now I want to use the ruby client(https://github.com/couchbase/couchbase-ruby-client) provided by couchbase team to interact with the server. but i am getting errors while installing the libcouchbase library. as mentioned on the git page, I am trying to install the libcouchbase by

 brew install libcouchbase

  but this gives me error like

 brew install libcouchbase

Error: No available formula for libcouchbase

  i tried several other options, but no luck. any help is appreciated.

Top
  • Login or register to post comments
Mon, 01/30/2012 - 05:41
jan
Offline
Joined: 02/15/2011
Groups: None

Hi,

it looks like the homebrew team hasn't merged our pull requests yet. But fear not :)

$ brew install http://packages.couchbase.com/clients/c/homebrew/libvbucket.rb
$ brew install http://packages.couchbase.com/clients/c/homebrew/libcouchbase.rb

Should get you there. Let us know if this works and if you have any other questions :)

Cheers
Jan
--

Top
  • Login or register to post comments
Mon, 01/30/2012 - 05:50
abhishek
Offline
Joined: 01/23/2012
Groups: None

Hi Jan,

Thank you for replying.

and I think i tried those separate brew installs before and was giving some weird error.

today the errors are different . as per below

######################################################################## 100.0%
Error: /Users/admin/Library/Caches/Homebrew/Formula/libvbucket.rb:4: syntax error, unexpected '<'

^
/Users/admin/Library/Caches/Homebrew/Formula/libvbucket.rb:5: syntax error, unexpected '<'

^
/Users/admin/Library/Caches/Homebrew/Formula/libvbucket.rb:8: syntax error, unexpected '<'

^
/Users/admin/Library/Caches/Homebrew/Formula/libvbucket.rb:8: syntax error, unexpected tIDENTIFIER, expecting $end

^
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
/usr/local/Library/Homebrew/formula.rb:381:in `require'
/usr/local/Library/Homebrew/formula.rb:381:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:12:in `install'
/usr/local/bin/brew:82:in `send'
/usr/local/bin/brew:82

is that because something is wrong with brew command or with the package its getting from http://packages.couchbase.com/clients/c/homebrew/libvbucket.rb ?

Top
  • Login or register to post comments
Mon, 01/30/2012 - 06:07
avsej
avsej's picture
Offline
Joined: 06/15/2011
Groups: None

Hi abhishek

Looks like we uploaded wrong files to S3, thanks for pointing this out. Here is my pull requests to homebrew

https://github.com/mxcl/homebrew/pulls/avsej

you can test them and +1 if all is ok.

Here is direct links to files from that pull requests:

https://raw.github.com/avsej/homebrew/libvbucket/Library/Formula/libvbucket.rb
https://raw.github.com/avsej/homebrew/libcouchbase/Library/Formula/libcouchbase.rb

__________________

Find me on FreeNode IRC in #libcouchbase channel

Top
  • Login or register to post comments
Thu, 02/23/2012 - 23:39
abhishek
Offline
Joined: 01/23/2012
Groups: None

Hi avsej

Thank you for your reply and your efforts.

But i still have following issue :(

I tried

brew install https://raw.github.com/avsej/homebrew/libvbucket/Library/Formula/libvbuc...
==> this worked fine

but when i tried
brew install https://raw.github.com/avsej/homebrew/libcouchbase/Library/Formula/libco...
==> ######################################################################## 100.0%
Warning: It appears you have Macports or Fink installed
Software installed with other package managers causes known problems for
Homebrew. If formula fail to build uninstall Macports/Fink and reinstall any
affected formula.
Error: No available formula for libvbucket

though the formula libvbucket is installed.

any idea?

Thanks

Top
  • Login or register to post comments
Fri, 02/24/2012 - 11:46
stellarphoenixs
stellarphoenixs's picture
Offline
Joined: 02/24/2012
Groups: None

I may know someone who can guide you. Let me get back to you.

__________________

 Regards,

Stellar Phoenix Solutions

http://www.stellarphoenixsol.com

"trusted data recovery solutions"

Top
  • Login or register to post comments
Sun, 02/26/2012 - 12:02
moritz
Offline
Joined: 02/26/2012
Groups: None

Hi avsej:

Do these library versions work with couchbase server 2.0.0-dev-preview-3?

If not what should I use instead?

Thanks, Andreas

Top
  • Login or register to post comments
Wed, 03/07/2012 - 08:08
seongreen
Offline
Joined: 03/07/2012
Groups: None

Check the brew version. I have some error on brew 0.7.1
I update brew to 0.8.1 and all fine.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker