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:
$ gem install couchbase
ERROR: Error installing couchbase:
ERROR: Failed to build gem native extension.
C:/Ruby200-x64/bin/ruby.exe extconf.rb
- You must install libcouchbase >= 2.0.7
- See http://www.couchbase.com/communities/c/ 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
–without-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=C:/Ruby200-x64/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}/
Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/couchbase-1.3.2 for inspection.
Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/couchbase-1.3.2/ext/couchbase_ext/gem_make.out
Temporarily enhancing PATH to include DevKit…
Building native extensions. This could take a while…
Ruby was installed via the one-click installer together with the devkit. I’ve tried running the install both in cygwin and the Ruby shell but get the same error.
Ruby details:
$ ruby -v
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]
Any ideas? Am I doing something wrong? Everything I’ve read seems to suggest that I don’t need to install libcouchbase on Windows and that it’s included in the gem somehow.