我在用着 每当宝石 对于crone工作,但是当我运行它时:
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和
轨道3.2.12
错误是由 慢性 宝石(a 每当宝石 依赖):它正在碰撞 Ruby 2。你可以用简单的方法解决它 bundle update whenever chronic
你会得到最新的非碰撞版本。
将来,如果您需要在新版慢性版正式发布之前修复,请指出您的 Gemfile
直接在git repo:
gem 'chronic', :git => 'git@github.com:mojombo/chronic.git'
gem 'whenever'
错误是由 慢性 宝石(a 每当宝石 依赖):它正在碰撞 Ruby 2。你可以用简单的方法解决它 bundle update whenever chronic
你会得到最新的非碰撞版本。
将来,如果您需要在新版慢性版正式发布之前修复,请指出您的 Gemfile
直接在git repo:
gem 'chronic', :git => 'git@github.com:mojombo/chronic.git'
gem 'whenever'