Actions
Bug #23842
closedunable to run rake tasks in production
Status:
Closed
Priority:
Normal
Assignee:
Category:
Rake tasks
Target version:
Description
rake aborted! LoadError: cannot load such file -- factory_bot /home/foreman/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' /home/foreman/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `block in require' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in `load_dependency' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `require' /home/foreman/git/foreman/lib/tasks/seed.rake:1:in `<top (required)>' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:286:in `load' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:286:in `block in load' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in `load_dependency' /home/foreman/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:286:in `load' /home/foreman/gems/gems/railties-5.1.6/lib/rails/engine.rb:648:in `block in run_tasks_blocks' /home/foreman/gems/gems/railties-5.1.6/lib/rails/engine.rb:648:in `each' /home/foreman/gems/gems/railties-5.1.6/lib/rails/engine.rb:648:in `run_tasks_blocks' /home/foreman/gems/gems/railties-5.1.6/lib/rails/application.rb:440:in `run_tasks_blocks' /home/foreman/gems/gems/railties-5.1.6/lib/rails/engine.rb:457:in `load_tasks' /home/foreman/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send' /home/foreman/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing' /home/foreman/git/foreman/Rakefile:8:in `<top (required)>' /home/foreman/gems/gems/rake-12.3.1/exe/rake:27:in `<top (required)>' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74:in `load' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74:in `kernel_load' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:28:in `run' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/cli.rb:424:in `exec' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/cli.rb:27:in `dispatch' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/cli.rb:18:in `start' /home/foreman/gems/gems/bundler-1.16.2/exe/bundle:30:in `block in <top (required)>' /home/foreman/gems/gems/bundler-1.16.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors' /home/foreman/gems/gems/bundler-1.16.2/exe/bundle:22:in `<top (required)>' /opt/rh/rh-ruby24/root/usr/bin/bundle:22:in `load' /opt/rh/rh-ruby24/root/usr/bin/bundle:22:in `<main>' (See full trace by running task with --trace) rake aborted!
Updated by Ohad Levy over 6 years ago
- Related to Feature #19968: Easy seeding for development environments added
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
What is the exact command you used? In our pipeline db:migrate did work so I'm wondering if listing all rake tasks fails for example.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman/pull/5661 added
Updated by Anonymous over 6 years ago
- Translation missing: en.field_release set to 353
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset b5fc39eefff79f3ad16cd94a510721c8138160d2.
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
- Category set to Rake tasks
- Triaged set to No
Actions