Project

General

Profile

Error #1579

Fail to run Redmine 4 in production mode (No such file to load -- RMagick.rb (LoadError))

Added by Emilio González Montaña over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
General
Start date:
2020-05-20
Due date:
2020-05-20
% Done:

100%

Estimated time:
Source:
Development
Detected on version:
Redmine version:
Redmine 4.1.0
Milestones:

Description

Error logged:

emilio@~/Documents/redmine$ RAILS_ENV=production bundle exec rails server
=> Booting Puma
=> Rails 5.2.4.2 application starting in production 
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
    72: from bin/rails:4:in `<main>'
    71: from bin/rails:4:in `require'
    70: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/commands.rb:18:in `<top (required)>'
    69: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/command.rb:46:in `invoke'
    68: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/command/base.rb:69:in `perform'
    67: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
    66: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
    65: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
    64: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `perform'
    63: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `tap'
    62: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:147:in `block in perform'
    61: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:53:in `start'
    60: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:311:in `start'
    59: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:379:in `handle_profiling'
    58: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:312:in `block in start'
    57: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
    56: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:27:in `app'
    55: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
    54: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
    53: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
    52: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
    51: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
    50: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
    49: from config.ru:3:in `block in <main>'
    48: from config.ru:3:in `require'
    47: from /home/emilio/Documents/redmine-4.1.1/config/environment.rb:16:in `<top (required)>'
    46: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/application.rb:361:in `initialize!'
    45: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/initializable.rb:60:in `run_initializers'
    44: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
    43: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
    42: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
    41: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
    40: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
    39: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
    38: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
    37: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
    36: from /home/emilio/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
    35: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/initializable.rb:61:in `block in run_initializers'
    34: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `run'
    33: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `instance_exec'
    32: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
    31: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/application/finisher.rb:69:in `each'
    30: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/engine.rb:356:in `eager_load!'
    29: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/engine.rb:475:in `eager_load!'
    28: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/engine.rb:475:in `each'
    27: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/engine.rb:477:in `block in eager_load!'
    26: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/engine.rb:477:in `each'
    25: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.2/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!'
    24: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:246:in `require_dependency'
    23: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:334:in `depend_on'
    22: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:356:in `require_or_load'
    21: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:37:in `load_interlock'
    20: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies/interlock.rb:13:in `loading'
    19: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
    18: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
    17: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:37:in `block in load_interlock'
    16: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:378:in `block in require_or_load'
    15: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
    14: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
    13: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `block in require'
    12: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
    11: from /home/emilio/Documents/redmine-4.1.1/plugins/advanced_roadmap/lib/advanced_roadmap/gruff.rb:33:in `<top (required)>'
    10: from /home/emilio/Documents/redmine-4.1.1/plugins/advanced_roadmap/lib/advanced_roadmap/gruff.rb:33:in `each'
     9: from /home/emilio/Documents/redmine-4.1.1/plugins/advanced_roadmap/lib/advanced_roadmap/gruff.rb:34:in `block in <top (required)>'
     8: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
     7: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
     6: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `block in require'
     5: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
     4: from /home/emilio/Documents/redmine-4.1.1/plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:2:in `<top (required)>'
     3: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
     2: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
     1: from /home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `block in require'
/home/emilio/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require': No such file to load -- RMagick.rb (LoadError)

Also available in: Atom PDF