Skip to content

Instantly share code, notes, and snippets.

@Azolo
Created June 26, 2012 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Azolo/2999990 to your computer and use it in GitHub Desktop.
Save Azolo/2999990 to your computer and use it in GitHub Desktop.
Eventmachine error: Issue #333
require 'sinatra'
require 'eventmachine'
get '/' do
"Hello World!"
end
PS C:\Users\Justin\Projects\Ruby\test\rackapp> ruby .\app.rb -s webrick
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 126: The specified module could
not be found. - C:/SDK/Ruby193-p194/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.rc.2-x86-mingw32/lib/1.9/rubyeventmac
hine.so (LoadError)
from C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/SDK/Ruby193-p194/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.rc.2-x86-mingw32/lib/rubyeventmachine.rb:2:
in `<top (required)>'
from C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/SDK/Ruby193-p194/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.rc.2-x86-mingw32/lib/eventmachine.rb:8:in `
<top (required)>'
from C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from C:/SDK/Ruby193-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from ./app.rb:2:in `<main>'
PS C:\Users\Justin\Projects\Ruby\test\rackapp> ls C:/SDK/Ruby193-p194/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.rc.2-x
86-mingw32/lib/1.9/rubyeventmachine.so
Directory: Microsoft.PowerShell.Core\FileSystem::C:\SDK\Ruby193-p194\lib\ruby\gems\1.9.1\gems\eventmachine-1.0.0.rc
.2-x86-mingw32\lib\1.9
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 6/26/2012 5:42 PM 2710986 rubyeventmachine.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment