Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. OP 4.0 and Windows

OP 4.0 and Windows

Added by Thibaut Comte over 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)

RE: OP 4.0 and Windows - Added by José Iván Moreno over 10 years ago

I have the same problem, please tell me if you solve it.

RE: OP 4.0 and Windows - Added by José Iván Moreno over 10 years ago

I have solve the problem adding to Gemfile

gem ‘eventmachine’

RE: OP 4.0 and Windows - Added by Shahid Iqbal over 10 years ago

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.

  • (1 - 3/3)
Loading...