Module: Backup::Environment::Unix::Helpers

Defined in:
lib/backup/environment/unix.rb

Instance Method Summary collapse

Instance Method Details

#confirm_configuration_file_existenceObject



81
82
83
84
85
86
87
88
# File 'lib/backup/environment/unix.rb', line 81

def confirm_configuration_file_existence
  unless File.exist?(File.join(BACKUP_PATH, 'config', 'backup.rb'))
    puts "\nBackup could not find the Backup Configuration File."
    puts "Did you set up Backup? Do so if you haven't yet:"
    puts "\nbackup --setup\n "
    exit
  end
end