0
這個我在提示符啓動:嘗試致電耙文件用的cronjob
[email protected]{/usr/share}:rake /usr/share/redmine/Rakefile redmine:email:receive_pop3 RAILS_ENV="production" host=mail.dd.com port=995 username=test password=D ssl=true project=Helpdesk --trace
這是它的蹤跡:
rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:684:in `raw_load_rakefile' /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:94:in `block in load_rakefile' /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling' /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:93:in `load_rakefile' /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:77:in `block in run' /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling' /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run' /var/lib/gems/2.1.0/gems/rake-10.5.0/bin/rake:33:in `' /usr/local/bin/rake:23:in `load' /usr/local/bin/rake:23:in `'
當我進入該文件夾的/ usr /股/ redmine然後它工作沒有問題。
我是否稱它爲假?
編輯:從文件系統映像:
你確定'/ usr/share/redmine/Rakefile'存在嗎?另請注意,Linux文件系統區分大小寫。 – robsch
是的,我確定。我已經添加了該文件夾的屏幕截圖。 –