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

Ruby SDK problem for developer preview (OS X)

1 reply [Last post]
  • Login or register to post comments
Sun, 09/16/2012 - 16:02
davidkerr
Offline
Joined: 02/10/2012
Groups: None

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/preview/Library/Formula/libcou...
######################################################################## 100.0%
==> Installing libcouchbase dependency: libevent
==> Downloading https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.ta...
Already downloaded: /Library/Caches/Homebrew/libevent-2.0.20.tar.gz
==> ./configure --disable-debug-mode --prefix=/usr/local/Cellar/libevent/2.0.20
==> make
==> make install
/usr/local/Cellar/libevent/2.0.20: 48 files, 1.8M, built in 27 seconds
==> Installing libcouchbase dependency: libvbucket
==> Downloading http://packages.couchbase.com/clients/c/libvbucket-1.8.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/libvbucket-1.8.0.4.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libvbucket/1.8.0.4 --without-docs
==> make install
/usr/local/Cellar/libvbucket/1.8.0.4: 8 files, 100K, built in 6 seconds
==> Installing libcouchbase
==> Downloading http://packages.couchbase.com/clients/c/libcouchbase-2.0.0beta.tar.gz
Already downloaded: /Library/Caches/Homebrew/libcouchbase-2.0.0beta.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libcouchbase/2.0.0beta --disable-couchbasemock
==> make install
/usr/local/Cellar/libcouchbase/2.0.0beta: 17 files, 432K, built in 14 seconds
[dmk]Roberto<0> gem install couchbase-1.2.0.dp6.gem
Building native extensions. This could take a while...
ERROR: Error installing couchbase-1.2.0.dp6.gem:
ERROR: Failed to build gem native extension.

/Users/dmk/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for libcouchbase_get_num_replicas() in -lcouchbase... no
You should install libcouchbase >= 1.1.0dp8. See http://www.couchbase.com/develop/ for more details
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/dmk/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
--with-libcouchbase-dir
--without-libcouchbase-dir
--with-libcouchbase-include
--without-libcouchbase-include=${libcouchbase-dir}/include
--with-libcouchbase-lib
--without-libcouchbase-lib=${libcouchbase-dir}/lib
--with-couchbaselib
--without-couchbaselib

Gem files will remain installed in /Users/dmk/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.dp6 for inspection.
Results logged to /Users/dmk/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.dp6/ext/couchbase_ext/gem_make.out

Top
  • Login or register to post comments
Tue, 09/18/2012 - 15:57
ingenthr
Offline
Joined: 03/16/2010
Groups:

Just today, we released updates for the Ruby gem and libcouchbase.

Head to couchbase.com/develop and first install the C client library via the homebrew recipe, then install the rubygem with the --pre option and you should be all set!

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