ubuntu server 14 x64, rails 4.2.5, ruby 2.1.5p273 [x86_64-linux], backup 4.2.0user: deployer gem install backup -v '4.2.0'Done installing documentation for xml-simple, unf_ext, unf, addressable, buftok, descendants_tracker, equalizer, multipart-post, faraday, http_parser.rb, http, json, atomic, thread_safe, memoizable, simple_oauth, twitter, polyglot, treetop, thor, pagerduty, open4, net-sftp, multi_json, mime-types, mail, httparty, hipch at, excon, fog-core, fog-xml, fog-voxel, CFPropertyList, fog-vmfusion, fog-terre mark, fog-json, fog-storm_on_demand, fog-softlayer, fog-serverlove, fog-sakuracl oud, fog-radosgw, fog-profitbricks, fog-ecloud, fog-brightbox, fog-aws, fog, flo wdock, dropbox-sdk, dogapi, aws-ses, backup after 640 seconds
51 gems installed
gem list backup*** LOCAL GEMS ***
backup (4.2.0)
backup.rb:Model.new(:backup, 'Description for my_backup') do
archive :logs do |archive|
archive.add 'logs/production/production.log'
end
store_with Local do |local|
local.path = "~/backups/"
local.keep = 5
end
compress_with Gzip
end
backup perform -t backup[2015/12/01 10:12:22][error] CLI::Error
[2015/12/01 10:12:22][error] --- Wrapped Exception ---
[2015/12/01 10:12:22][error] Config::Error: Could not find configuration file: ' /home/deployer/Backup/config.rb'.
Почему его не образовалось там, если оно вообще должно там быть? Что по умолчанию в нем? Есть ли описание настроек для него? Я про config.rb. Искал
тутgem environmentRubyGems Environment:
- RUBYGEMS VERSION: 2.4.3
- RUBY VERSION: 2.1.5 (2014-11-13 patchlevel 273) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/deployer/.rvm/gems/ruby-2.1.5
- RUBY EXECUTABLE: /usr/share/rvm/rubies/ruby-2.1.5/bin/ruby
- EXECUTABLE DIRECTORY: /home/deployer/.rvm/gems/ruby-2.1.5/bin
- SPEC CACHE DIRECTORY: /home/deployer/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/deployer/.rvm/gems/ruby-2.1.5
- /home/deployer/.rvm/gems/ruby-2.1.5@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /home/deployer/.rvm/gems/ruby-2.1.5/bin
- /home/deployer/.rvm/gems/ruby-2.1.5@global/bin
- /usr/share/rvm/rubies/ruby-2.1.5/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /usr/share/rvm/bin