unable to install couchbase gem v. 1.3.5 on windows 7

Environment - Windows 7 Professional (64), Ruby 1.9.3 p.484

gem install couchbase

Fetching: yaji-0.3.5-x86-mingw32.gem (100%)
Successfully installed yaji-0.3.5-x86-mingw32
Fetching: connection_pool-1.2.0.gem (100%)
Successfully installed connection_pool-1.2.0
Fetching: couchbase-1.3.5.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing couchbase:
ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe extconf.rb

**********************************************************************
* You must install libcouchbase >= 2.1.3
* See http://www.couchbase.com/communities/c/ for more details
**********************************************************************

Downloaded couchbase-1.3.5-x86-mingw32.gem localy

gem install --local C:\Users\aso\Downloads\couchbase-1.3.5-x86-mingw32.gem

Successfully installed couchbase-1.3.5-x86-mingw32
Installing ri documentation for couchbase-1.3.5-x86-mingw32
1 gem installed

in the script

require 'couchbase'

C:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/Users/aso/ruby_try/couchbase_try.rb
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in `require': 126: The specified module could not be found. - C:/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-1.3.5-x86-mingw32/lib/couchbase/1.9/couchbase_ext.so (LoadError)
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-1.3.5-x86-mingw32/lib/couchbase_ext.rb:1:in `'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-1.3.5-x86-mingw32/lib/couchbase.rb:22:in `'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:144:in `require'
from C:/Users/aso/ruby_try/couchbase_try.rb:1:in `'
from -e:1:in `load'

Does it show popup like this in your case?

1 Answer

« Back to question.

Could you try this build?

http://files.avsej.net/couchbase-1.3.5.winfix-x86-mingw32.gem

It is the same as 1.3.5 but with static libgcc

same error :

gem install C:\Users\aso\Downloads\couchbase-1.3.5.winfix-x86-mingw32.gem

Successfully installed couchbase-1.3.5.winfix-x86-mingw32

gem list

*** LOCAL GEMS ***

bigdecimal (1.1.0)
bundler (1.5.3)
connection_pool (1.2.0)
couchbase (1.3.5.winfix x86-mingw32)
io-console (0.3)
json (1.5.5)
jsonpath (0.5.6)
minitest (2.5.1)
multi_json (1.8.4)
rake (0.9.2.2)
rdoc (3.9.5)
rubygems-update (2.2.2)
yaji (0.3.5 x86-mingw32)

in the script

require 'couchbase'

C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require': 126: The specified module could not be found. - C:/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-1.3.5.winfix-x86-mingw32/lib/couchbase/1.9/couchbase_ext.so (LoadError)

Could you try once again, please? I have updated the link above

It worked this time. Thanks for your help.