安装gem时出错:Faye-无法构建gem原生扩展

时间:2012-02-26 21:50:44

标签: ruby-on-rails ruby faye

错误:安装faye时出错:     错误:无法构建gem原生扩展。

    /home/path/../ruby extconf.rb

checking for rb_thread_blocking_region()... no
checking for rb_str_set_len()... yes
checking for sys/select.h... yes
checking for poll.h... yes
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for port.h... no
checking for openssl/ssl.h... yes
creating Makefile

版本细节 Rails 2.3.14,ruby 1.8.7

我错过了什么?

1 个答案:

答案 0 :(得分:2)

听起来你错过了原生二进制文件。看起来你正在使用Linux,它可能是你想要的openssl。

您可以在包管理器中安装带有sudo apt-get install libssl-dev或等效的openssl。

您会在your_gem_path/.gems/faye/ext/gem_make.out

中找到错误的完整记录
相关问题