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

Cron error #23

Open
4ev opened this issue Aug 12, 2016 · 1 comment
Open

Cron error #23

4ev opened this issue Aug 12, 2016 · 1 comment

Comments

@4ev
Copy link

4ev commented Aug 12, 2016

Command Cron:
PATH=/usr/bin
GEM_PATH=/usr/local/rvm/gems/ruby-2.3.0@rails4/gems

  • * * * * root /usr/bin/rake -f /opt/redmine-3.3.0/Rakefile --silent redmine:plugins:email_fetcher:fetch_all_emails RAILS_ENV=production 2>&- 1>&-

Error log:

rake aborted!
LoadError: cannot load such file -- bundler/setup
/opt/redmine-3.3.0/config/boot.rb:4:in <top (required)>' /opt/redmine-3.3.0/config/application.rb:1:in<top (required)>'
/opt/redmine-3.3.0/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

@octoquad
Copy link

Hi,

Not sure if you managed to fix this, but you can try a slightly tweaked version I added to https://github.com/octoquad/redmine_email_fetcher#rake-task.

If you no longer have this problem, please consider closing this issue.

Thanks

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

2 participants