Project

General

Profile

Actions

Defect #30513

closed

Unable to load the EventMachine C extension; windows

Added by James H about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ruby support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Upgrading from Redmine 3.3.x to 4.0.1
Windows

on cmd:

rake generate_secret_token

I get this error:

Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
rake aborted!
LoadError: cannot load such file -- 2.5/rubyeventmachine
X:/Redmine/config/application.rb:5:in '<top <required>>'
X:/Redmine/Rakefile:5:in '<top <required>>'


Resolved by adding the following line:

require 'em/pure_ruby'

at the top of
X:/RubyXX-x64/lib/ruby/gems/2.X.0/gems/eventmachine-1.2.X-x64-mingw32/lib/eventmachine.rb

Actions

Also available in: Atom PDF