Rails - cannot run app: Unable to load the EventMachine C extension;

前端 未结 5 1200
栀梦
栀梦 2020-12-06 20:27

When I run an app on Lion OS X, I get this error:

Unable to load the EventMachine C extension; To use the pure-ruby reactor, require \'em/pure_ruby\'
/Users/         


        
5条回答
  •  广开言路
    2020-12-06 21:12

    You may find various errors while installing gems or trying to find solution to your ruby application installation failing due to ruby-devel was not installed.

    I just installed on my Kali linux with

    sudo apt-get install ruby-dev

    and everything resolved. I was trying to install bettercap.

    This answer helped: https://stackoverflow.com/a/4502672/6503117

提交回复
热议问题