每当我使用gem进行 cron 作业时,我都会使用它,但是当我运行它时:
cd ~/my_project
whenever
我收到错误
/home/tomi/.rvm/gems/ruby-2.0.0-rc1@my_projcet/bundler/gems/rails-d1904aff6f04/activesupport/lib/active_support/core_ext/range/include_range.rb:16:in `each': can't iterate from Time (TypeError)
我在跑
ruby-2.0.0-rc1 和 rails 3.2.12