Ruby: problem installing EventMachine under Windows 7

后端 未结 3 398
孤独总比滥情好
孤独总比滥情好 2020-12-01 14:09

I am trying to install the gem EventMachine on Windows 7 (using Ruby 1.9.2 with RubyInstaller) via bundle, but I get the following error. I also installed DevKit and it is w

相关标签:
3条回答
  • 2020-12-01 14:22

    EventMachine 0.12.10 is known to not work under Ruby 1.9.2 on Windows.

    Please try latest 1.x pre-release versions:

    gem install eventmachine --pre
    

    If you're using with Thin, latest version of Thin works with it properly.

    This has been discussed on RubyInstaller group several times.

    0 讨论(0)
  • 2020-12-01 14:37

    I changed the gemfile and included eventmachine (1.0.0.beta.2) version in it and now its working file.

    0 讨论(0)
  • 2020-12-01 14:47

    Since I am using thin. In my gemfile I put:

    gem "thin", "1.3.1"
    gem "eventmachine", "1.0.0.rc.1"
    
    0 讨论(0)
提交回复
热议问题