# File lib/whenever.rb, line 22 def self.bin_rails? File.exists?(File.join(path, 'bin', 'rails')) end
# File lib/whenever.rb, line 30 def self.bundler? File.exists?(File.join(path, 'Gemfile')) end
# File lib/whenever.rb, line 14 def self.cron(options) Whenever::JobList.new(options).generate_cron_output end
# File lib/whenever.rb, line 18 def self.path Dir.pwd end
# File lib/whenever.rb, line 26 def self.script_rails? File.exists?(File.join(path, 'script', 'rails')) end