Comments
-
Greg Hurrell
As noted in the GitHub ticket, memcache 1.2.13 addresses this issue, and it is now possible to do:
$ gem install memcache -- --disable-64bit "CFLAGS=\'-march=i686\'"
And therefore also:
$ bundle config build.memcache --disable-64bit "CFLAGS=\'-march=i686\'"
(May be necessary to prefix that with
sudo -u rails_user -H
if you want the correct~/.bundle/config
file to be written to for the user your Rails app runs as.)For 1.2.12 the acceptable workaround is to build libmemcache first, then:
$ env GEM_HOME=/path/to/shared/bundle/ruby/1.8 EXTERNAL_LIB=1 gem install memcache
And then when running bundle install, pass it
--path /path/to/shared/bundle
. -
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.