安装memcache时出错(1.2.13)

时间:2013-11-11 15:46:00

标签: ruby-on-rails ruby macos memcached

当我尝试在OSX 10.8上的ruby 1.9.2上安装memcache(1.2.13)时,我收到以下错误消息:

开头的部分错误消息:

An error occurred while installing memcache (1.2.13), and Bundler cannot continue.
Make sure that `gem install memcache -v '1.2.13'` succeeds before bundling.

最后:

ld: library not found for -lruby.1.9.1
collect2: ld returned 1 exit status
make: *** [native_server.bundle] Error 1

这似乎是同一个问题:Error when installing memcache gem但是没有答案: - (

我希望这些信息足够,你们中的某些人可以帮助我。这个问题花了我几天的时间!

感谢任何解决方案的想法!

1 个答案:

答案 0 :(得分:0)

好的,我解决了这个问题(感谢Justin Balthrop)!我将memcache gem版本降级到1.3.0,现在一切正常!

另请注意:https://bugs.launchpad.net/libmemcached/+bug/1216521

或者尝试使用不同的memcache客户端,例如:https://bugs.launchpad.net/libmemcached/+bug/1216521

祝你好运! ; - )

相关问题