更新:

eventmachine gem已安装并在我的gemfile中:

 eventmachine (1.0.0, 0.12.10)

请帮助!尝试使用以下内容创建数据库:
Fitzs-MacBook-Pro:twilio_insanity Fitz$ rake db:create'

返回以下错误:



```

最佳答案

尝试重新安装gem'eventmachine'

$ gem uninstall eventmachine

然后
$ bundle install  ( in the same folder with your Gemfile)

要不就
$ gem install eventmachine ( if you are not using the Gemfile)

请参阅:https://stackoverflow.com/a/15140634/445908

关于ruby-on-rails - 创建数据库: Unable to load the EventMachine C extension时出现Rails/Ruby错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/14134033/

10-13 02:08