woblavobla / redmine_custom_reminder

Simple redmine plugin for scheduled email sending;
Apache License 2.0
8 stars 12 forks source link

error when executing the cron task #10

Open tainewoo opened 5 years ago

tainewoo commented 5 years ago

Redmine: 4.0.2 Rails 5.2.2 Here is the log: Bundler::GemNotFound: Could not find rake-12.3.2 in any of the sources /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/spec_set.rb:87:in block in materialize' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/spec_set.rb:81:inmap!' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/spec_set.rb:81:in materialize' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/definition.rb:170:inspecs' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/definition.rb:237:in specs_for' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/definition.rb:226:inrequested_specs' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:108:in block in definition_method' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:20:insetup' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler.rb:107:in setup' /var/lib/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/setup.rb:20:in<top (required)>' /usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' /usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire'

But it's ok if i use this command: bundle exec rails runner -e production "CustomRemindersJob.perform_now"