title: Rails/Ruby Error When Creating Database: Unable to load the EventMachine C extension
body: <p><strong>Update:</strong></p>
  
  <p>the eventmachine gem is installed and in my gemfile:</p>
  
  <pre><code> eventmachine (1.0.0, 0.12.10)
  </code></pre>
  
  <p><strong>Please help! Trying to create a database with the following:</strong></p>
  
  <pre><code>Fitzs-MacBook-Pro:twilio_insanity Fitz$ rake db:create'
  </code></pre>
  
  <p><strong>Returns the following error:</strong></p>
  
  <blockquote>
    <p>Unable to load the EventMachine C extension; To use the pure-ruby
    reactor, require 'em/pure_ruby' rake aborted! cannot load such file --
    rubyeventmachine
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/eventmachine-1.0.0/lib/eventmachine.rb:8:in
    <code>require'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/eventmachine-1.0.0/lib/eventmachine.rb:8:in
    </code>'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/thin-1.5.0/lib/thin.rb:7:in
    <code>require'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/gems/thin-1.5.0/lib/thin.rb:7:in
    </code>'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in
    <code>require'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in
    </code>block (2 levels) in require'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in
    <code>each'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in
    </code>block in require'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in
    <code>each'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in
    </code>require'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler.rb:128:in
    <code>require'
    /Users/Fitz/Desktop/twilio_insanity/config/application.rb:7:in</code>' /Users/Fitz/Desktop/twilio_insanity/Rakefile:5:in
    <code>require' /Users/Fitz/Desktop/twilio_insanity/Rakefile:5:in</code>'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/bin/ruby_noexec_wrapper:14:in
    <code>eval'
    /Users/Fitz/.rvm/gems/ruby-1.9.3-p327@rails3tutorial2ndEd/bin/ruby_noexec_wrapper:14:in
    </code>' (See full trace by running task with --trace)</p>
  </blockquote>
  
  <p>```</p>