Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem with installing the plugin - "LoadError: cannot load such file -- redmine_favorite_projects" #71

Open
AndrewBLR opened this issue Jul 19, 2023 · 0 comments

Comments

@AndrewBLR
Copy link

AndrewBLR commented Jul 19, 2023

My Redmine data:

Environment:
  Redmine version                5.0.5.stable.22274
  Ruby version                   3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
  Rails version                  6.1.7.4
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Purplemine2-master
SCM:
  Subversion                     1.14.1
  Git                            2.34.1
  Filesystem                     
Redmine plugins:
  mega_calendar                  1.9.3
  redmine_agile                  1.6.5
  redmine_checklists             3.1.22
  redmine_contacts               4.3.7
  redmine_hide_sidebar           4.0.0
  redmine_people                 1.6.3
  redmine_theme_changer          0.6.0
  redmine_wktime                 4.7
  redmine_work_time              0.4.1

"bundle install" - executed without errors, and after database migration - "bundle exec rake redmine:plugins NAME=redmine_favorite_projects RAILS_ENV=production"
I get the following message:

bundle exec rake redmine:plugins NAME=redmine_favorite_projects RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- redmine_favorite_projects
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/opt/redmine/plugins/redmine_favorite_projects/init.rb:6:in `<top (required)>'
/opt/redmine/lib/redmine/plugin_loader.rb:31:in `load'
/opt/redmine/lib/redmine/plugin_loader.rb:31:in `run_initializer'
/opt/redmine/lib/redmine/plugin_loader.rb:108:in `each'
/opt/redmine/lib/redmine/plugin_loader.rb:108:in `block in load'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:427:in `instance_exec'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:603:in `catch'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:199:in `block in halting'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:512:in `each'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:512:in `invoke_before'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/callbacks.rb:105:in `run_callbacks'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/reloader.rb:88:in `prepare!'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/initializable.rb:32:in `instance_exec'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/initializable.rb:32:in `run'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/initializable.rb:61:in `block in run_initializers'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/initializable.rb:60:in `run_initializers'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/application.rb:391:in `initialize!'
/opt/redmine/config/environment.rb:16:in `<top (required)>'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/dependencies.rb:332:in `block in require'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/dependencies.rb:299:in `load_dependency'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.4/lib/active_support/dependencies.rb:332:in `require'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/application.rb:367:in `require_environment!'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7.4/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/opt/redmine/lib/tasks/redmine.rake:73:in `block (2 levels) in <top (required)>'
/opt/redmine/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Please help to solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant