gem install couchbase
Building native extensions. This could take a while…
ERROR: Error installing couchbase:
ERROR: Failed to build gem native extension.
current directory: /Users/kirillmac/.rvm/gems/ruby-2.6.4/gems/couchbase-1.3.15/ext/couchbase_ext
/Users/kirillmac/.rvm/rubies/ruby-2.6.4/bin/ruby -I /Users/kirillmac/.rvm/rubies/ruby-2.6.4/lib/ruby/site_ruby/2.6.0 -r ./siteconf20200710-72757-9ri58a.rb extconf.rb
checking for lcb_iops_wire_bsd_impl2(NULL, 0) in -lcouchbase… yes
checking for mach/mach_time.h… yes
checking for stdint.h… yes
checking for sys/time.h… yes
checking for fcntl.h… yes
checking for sys/socket.h… yes
checking for errno.h… yes
checking for st_index_t… yes
checking for clock_gettime()… yes
checking for gettimeofday()… yes
checking for QueryPerformanceCounter()… no
checking for gethrtime()… no
checking for rb_hash_lookup2()… yes
checking for rb_thread_fd_select()… yes
checking for rb_thread_blocking_region()… no
checking for rb_thread_call_without_gvl()… yes
checking for poll() in poll.h… yes
checking for ppoll() in poll.h… no
checking for rb_fiber_yield()… yes
creating couchbase_config.h
creating Makefile
current directory: /Users/kirillmac/.rvm/gems/ruby-2.6.4/gems/couchbase-1.3.15/ext/couchbase_ext
make “DESTDIR=” clean
current directory: /Users/kirillmac/.rvm/gems/ruby-2.6.4/gems/couchbase-1.3.15/ext/couchbase_ext
make “DESTDIR=”
compiling arguments.c
In file included from arguments.c:18:
In file included from ./couchbase_ext.h:30:
In file included from /Users/kirillmac/.rvm/rubies/ruby-2.6.4/include/ruby-2.6.0/ruby.h:33:
/Users/kirillmac/.rvm/rubies/ruby-2.6.4/include/ruby-2.6.0/ruby/ruby.h:2186:35: warning: unused parameter ‘allow_transient’ [-Wunused-parameter]
rb_array_ptr_use_end(VALUE a, int allow_transient)
^
In file included from arguments.c:18:
./couchbase_ext.h:62:10: fatal error: ‘libcouchbase/n1ql.h’ file not found
#include <libcouchbase/n1ql.h>
^~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [arguments.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/kirillmac/.rvm/gems/ruby-2.6.4/gems/couchbase-1.3.15 for inspection.
Results logged to /Users/kirillmac/.rvm/gems/ruby-2.6.4/extensions/x86_64-darwin-19/2.6.0/couchbase-1.3.15/gem_make.out