更新:
eventmachine gem 已安装并在我的 gemfile 中:
eventmachine (1.0.0, 0.12.10)
请帮忙!尝试使用以下内容创建数据库:
Fitzs-MacBook-Pro:twilio_insanity Fitz$ rake db:create'
返回以下错误:
无法加载 EventMachine C 扩展;要使用纯红宝石反应器,需要 'em/pure_ruby' rake 中止!无法加载此类文件 -- rubyeventmachine /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/eventmachine-1.0.0/lib/eventmachine.rb:8:in
require' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/eventmachine-1.0.0/lib/eventmachine.rb:8:in
' /Users/Fitz/ .rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/thin-1.5.0/lib/thin.rb:7:inrequire' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/thin-1.5.0/lib/thin.rb:7:in
' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327 @global/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:inrequire' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in
块(2 级)在 require' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/ gems/bundler-1.2.3/lib/bundler/runtime.rb:66:ineach' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in
block in require' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3 /lib/bundler/runtime.rb:55:ineach' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in
需要'require' /Users/Fitz/Desktop/twilio_insanity/config/application.rb:7:in
/Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler.rb:128:in'/Users/Fitz/Desktop/twilio_insanity/Rakefile :5:inrequire' /Users/Fitz/Desktop/twilio_insanity/Rakefile:5:in
' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/bin/ruby_noexec_wrapper:14:ineval' /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/bin/ruby_noexec_wrapper:14:in
' (通过使用 --trace 运行任务查看完整跟踪)
```