How to make 'whenever' gem work on Windows?
问题 I wan to run "simple" cron using whenever on Windows XP. So I installed whenever gem install whenever and then ran my cron.rb require 'rubygems' require 'whenever' every 1.days, :at => '5:30am' do command "puts now" end but it complained that You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install So I ran gem install i18n and now the same code gives me an error C:\whenever>ruby cron.rb cron.rb:4: undefined method 'every' for main:Object