gem install couchbase fails

188 views
Skip to first unread message

Patrick Heneise

unread,
Sep 19, 2012, 10:13:36 AM9/19/12
to couc...@googlegroups.com
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?

Matt Ingenthron

unread,
Sep 19, 2012, 10:50:15 AM9/19/12
to couc...@googlegroups.com
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

Patrick Heneise

unread,
Sep 19, 2012, 11:22:37 AM9/19/12
to couc...@googlegroups.com
Done, thanks. I'll try a different ruby version.

Sergey Avseyev

unread,
Sep 19, 2012, 11:26:57 AM9/19/12
to couc...@googlegroups.com
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

Patrick Heneise

unread,
Sep 19, 2012, 12:24:15 PM9/19/12
to couc...@googlegroups.com
Thanks for the quick solution!

Sergey Avseyev

unread,
Sep 19, 2012, 12:25:25 PM9/19/12
to couc...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages