whenever/lib/whenever.rb

20 lines
557 B
Ruby
Raw Normal View History

2009-02-16 03:24:10 +00:00
require 'chronic'
# It was previously defined as a dependency of this gem, but that became
# problematic. See: http://github.com/javan/whenever/issues#issue/1
begin
2010-04-26 14:48:50 +00:00
require 'active_support/all'
2009-10-20 17:42:09 +00:00
rescue LoadError
2010-04-26 14:48:50 +00:00
warn 'To use Whenever you need the active_support gem:'
warn '$ gem install activesupport'
exit(1)
end
# Whenever files
2009-10-20 17:42:09 +00:00
require 'whenever/base'
require 'whenever/job_list'
require 'whenever/job'
2009-10-20 17:42:09 +00:00
require 'whenever/outputs/cron'
require 'whenever/outputs/cron/output_redirection'
require 'whenever/command_line'
require 'whenever/version'