eventmachine安装问题

xzyxuanyuan 2012-07-22 10:26:10

C:\Users>gem install eventmachine
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.

D:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... no
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
checking for main() in -lssl... no
creating Makefile

make
generating rubyeventmachine-i386-mingw32.def
求解决办法
...全文
712 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
ProgrammingWJF 2014-09-20
  • 打赏
  • 举报
回复
我是在ubuntu环境下遇到一样的问题,请问你是怎么解决的?我可以参考一下。
xzyxuanyuan 2012-07-25
  • 打赏
  • 举报
回复
嗯 已经解决了
骄傲青蛙 2012-07-24
  • 打赏
  • 举报
回复
就是那些gem 依赖包
xzyxuanyuan 2012-07-23
  • 打赏
  • 举报
回复
extension package 是指哪个扩展包???
骄傲青蛙 2012-07-23
  • 打赏
  • 举报
回复
Installing the native extension before you install the eventmachine, occurring this problem may your network cannot get the extension automatically from remote repository.

So, you need to download the extension package for installing in local, at first.

2,763

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ruby/Rails
社区管理员
  • Ruby/Rails社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧