gem install couchbase fails

Showing 1-6 of 6 messages
gem install couchbase fails Patrick 9/19/12 7:13 AM
Hi,

I just tried to install the couchbase gem for RoR development. libcouchbase 2.0 beta worked fine.

me$ gem install couchbase --pre
Building native extensions.  This could take a while...
ERROR:  Error installing couchbase:
ERROR: Failed to build gem native extension.

        /Users/me/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
extconf.rb:25:in `block in <main>': uninitialized constant RbConfig::ARCHFLAGS (NameError)
from extconf.rb:24:in `each'
from extconf.rb:24:in `<main>'


Gem files will remain installed in /Users/me/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.z.beta for inspection.
Results logged to /Users/me/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.z.beta/ext/couchbase_ext/gem_make.out

OS X 10.8.1. What's the problem here?
Re: gem install couchbase fails Matt Ingenthron 9/19/12 7:50 AM
Hi Patrick,

On 9/19/12 7:13 AM, "Patrick Heneise" <patrick...@gmail.com> wrote:

Hi,

I just tried to install the couchbase gem for RoR development. libcouchbase 2.0 beta worked fine.

There were some problems in this area recently and we thought we got them all, but perhaps we did not.  Can you file an issue on RCBC at couchbase.com/issues and attach the log file it mentions?  From there, we can probably identify a workaround with an envvar.

Thanks,

Matt


me$ gem install couchbase --pre
Building native extensions.  This could take a while...
ERROR:  Error installing couchbase:
ERROR: Failed to build gem native extension.

        /Users/me/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
extconf.rb:25:in `block in <main>': uninitialized constant RbConfig::ARCHFLAGS (NameError)
from extconf.rb:24:in `each'
from extconf.rb:24:in `<main>'


Gem files will remain installed in /Users/me/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.z.beta for inspection.
Results logged to /Users/me/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.z.beta/ext/couchbase_ext/gem_make.out

OS X 10.8.1. What's the problem here?


Re: gem install couchbase fails Patrick 9/19/12 8:22 AM
Done, thanks. I'll try a different ruby version.
Re: gem install couchbase fails Sergey Avseyev 9/19/12 8:27 AM
Hi Patrick. I replied in the jira thread, could you attach your rbconfig.rb?

--
Sergey Avseyev


On Wed, Sep 19, 2012 at 8:22 AM, Patrick Heneise
Re: gem install couchbase fails Patrick 9/19/12 9:24 AM
Thanks for the quick solution!
Re: gem install couchbase fails Sergey Avseyev 9/19/12 9:25 AM
The updated version of the gem will be uploaded to rubygems.org today later

--
Sergey Avseyev


On Wed, Sep 19, 2012 at 9:24 AM, Patrick Heneise