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.
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:inrequire’
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-1.3.5-x86-mingw32/lib/couchbase_ext.rb:1:in <top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:inrequire’
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<top (required)>'
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:inrescue 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<top (required)>‘
from -e:1:in `load’
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)
This fix for Windows solve the problem but… with the ‘couchbase-model’ gem, I think, there are a problem.
I’m trying to run: rails generate couchbase:config
but an error shows appears:
F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-model-0.5.3/lib/couchbase/model.rb:20:in require': cannot load such file -- couchbase (LoadError) from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-model-0.5.3/lib/couchbase/model.rb:20:in<top (required)>'
from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-model-0.5.3/lib/couchbase-model.rb:18:in require' from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/couchbase-model-0.5.3/lib/couchbase-model.rb:18:in<top (required)>'
from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler/runtime.rb:76:in require' from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler/runtime.rb:76:inblock (2 levels) in require’
from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler/runtime.rb:72:in each' from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler/runtime.rb:72:inblock in require’
from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler/runtime.rb:61:in each' from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler/runtime.rb:61:inrequire’
from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.6.0.pre.2/lib/bundler.rb:132:in require' from F:/proyectos/src/doudo/config/application.rb:13:in<top (required)>'
from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.16/lib/rails/commands.rb:24:in require' from F:/devel/RoR/compiler/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.16/lib/rails/commands.rb:24:in<top (required)>'
from script/rails:6:in require' from script/rails:6:in’