ruby-on-rails - 无法 bundle/安装Kgio错误

标签 ruby-on-rails github installation bundle

每次捆绑安装时,我似乎都无法通过我的应用程序安装kgio。我得到这个错误!谁能帮我?我已经尝试过5次重新捆绑。

C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
    checking for CLOCK_MONOTONIC in time.h... no
    checking for CLOCK_MONOTONIC() in time.h... no
    checking for clockid_t in time.h... no
    checking for clock_gettime() in -lrt... no
    checking for t_open() in -lnsl... no
    checking for socket() in -lsocket... no
    checking for poll() in poll.h... no
    checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
    getaddrinfo required
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of
    necessary libraries and/or headers.  Check the mkmf.log file for more
    details.  You may need configuration options.

    Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby
        --with-rtlib
        --without-rtlib
        --with-nsllib
        --without-nsllib
        --with-socketlib
        --without-socketlib

最佳答案

实际上,答案是您不能在Windows中使用kgio。在找出答案之前,我花了3个小时在这里回答另一个问题。根据其开发者的说法,Kgio需要一个类似Unix的环境。

关于ruby-on-rails - 无法 bundle/安装Kgio错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14483058/

相关文章:

mysql - 查找出现次数最多的记录。

css - 如何使用 Ruby 为彼此相邻的表单设置样式

ruby-on-rails - 在 Rails JSON 序列化中重命名模型关联属性?

mysql - 如何使用 MySQL 命令行客户端安装 .sql 文件

ubuntu - 在 Ubuntu 上从源文件安装 Mercurial

ruby-on-rails - 如何授权google-api-ruby-client?

github - GitHub Desktop 中的摘要和描述有什么区别?

php - Composer 不会使用我的 fork

git - git 和 Github CLI 或 gh 有什么区别?

visual-studio - 安装新版本软件时如何消除 "The specified service already exists"?