Content
OP 4.0 and Windows
Added by Thibaut Comte about 10 years ago
Hi
Anyone tried to install OP4.0 on Windows?
Currently trying it and I have a weird error that I cannot fix…
c:\Sites\openproject>bundle exec rake db:create;all DL is deprecated, please use Fiddle require 'rails/all'... 1.544s Bundler.require... C:/Ruby21/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.3-x86-min gw32/lib/eventmachine.rb:10:in `rescue in <top (required)>' : Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby' (StandardWarning) rake aborted! LoadError: cannot load such file -- 2.1/rubyeventmachine c:/Sites/openproject/config/application.rb:68:in `block in <top (required)>' c:/Sites/openproject/config/application.rb:44:in `block in bench' c:/Sites/openproject/config/application.rb:43:in `bench' c:/Sites/openproject/config/application.rb:67:in `<top (required)>' c:/Sites/openproject/Rakefile:33:in `require' c:/Sites/openproject/Rakefile:33:in `<top (required)>' (See full trace by running task with --trace)
—> Unable to load the EventMachine C extension;
Anyone know how to fix this?
Thank you for your answers
Replies (3)
I have the same problem, please tell me if you solve it.
I have solve the problem adding to Gemfile
Hi,
I am trying to install OP4.0 on Windows but getting this error.
DL is deprecated, please use Fiddle
require ‘rails/all’… 2.979s
Bundler.require… rake aborted!
LoadError: cannot load such file — eventmachine
c:/Sites/openproject4/openproject-dev/config/application.rb:67:in `block in <top (required)>’
c:/Sites/openproject4/openproject-dev/config/application.rb:43:in `block in bench’
c:/Sites/openproject4/openproject-dev/config/application.rb:42:in `bench’
c:/Sites/openproject4/openproject-dev/config/application.rb:66:in `<top (required)>’
c:/Sites/openproject4/openproject-dev/Rakefile:33:in`require’
c:/Sites/openproject4/openproject-dev/Rakefile:33:in`<top (required)>’
(See full trace by running task with —trace)
I have add event machine gem in gem file and install it successfully as follows:
I go to C:\Ruby21-x64\lib\ruby\gems\2.1.0\gems\eventmachine-1.0.3> and run gem build eventmachine.gemspec to create eventmacine.1.0.3.gem file and the install it in tmp folder.
I have install my bundle successfully and I get that gem in my bundle also.But when I am running the following command bundle exec rake db:create:all I am getting the above error.