From kris.leech at gmail.com Wed Jan 7 12:15:02 2009 From: kris.leech at gmail.com (Kris Leech) Date: Wed, 7 Jan 2009 17:15:02 +0000 Subject: [Backupgem-users] 'content': Unknown option in :content. Try :is_file, :is_folder :is_contents_of or :is_hg_repository (RuntimeError) Message-ID: <1973a9050901070915y37a8430fwc7fa8e147b9d8eb1@mail.gmail.com> I'm getting an error when trying to use backupgem installed via gem, so I tried the version on github (I ran setup.rb and used the backup program in bin) I'm guessing the github version is more recent than the one gem installs...? ****@desktop:~/downloads/jashmenn-backupgem-a31d45251adcb3133e39cbdfc4855c8edcdb2cd3/bin$ backup /home/****/code/t/lib/developer.rb /usr/local/lib/site_ruby/1.8/backup/actor.rb:177:in `content': Unknown option in :content. Try :is_file, :is_folder :is_contents_of or :is_hg_repository (RuntimeError) from /usr/local/lib/site_ruby/1.8/backup/actor.rb:64:in `send' from /usr/local/lib/site_ruby/1.8/backup/actor.rb:64:in `send_and_store' from /usr/local/lib/site_ruby/1.8/backup/actor.rb:57:in `start_process!' from /usr/local/lib/site_ruby/1.8/backup/actor.rb:55:in `each' from /usr/local/lib/site_ruby/1.8/backup/actor.rb:55:in `start_process!' from /usr/local/lib/site_ruby/1.8/backup/cli.rb:109:in `execute_recipes!' from /usr/local/lib/site_ruby/1.8/backup/cli.rb:72:in `execute!' from /usr/local/lib/site_ruby/1.8/backup/cli.rb:11:in `execute!' from /usr/bin/backup:12 My backup file is : set :backup_path, "/var/backups/fake_usb/" set :tmp_dir, "/tmp" action :content, :is_contents_of => "/home/****/html" It basically based on the simple example and I cannot stop the error. Many thanks, K. -- ------------------------------------------------------------------ Go to this website www.phizzie.com and click on advertising at bottom of pages! -------------- next part -------------- An HTML attachment was scrubbed... URL: