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.
- 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:
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 -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.