From 2345154ff8b4f03cd4288a8523aff9597c35dd1d Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Fri, 7 Nov 2014 02:12:54 +0000 Subject: Tested fix to snapshot path :) --- lib/byteback/backup_directory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/byteback/backup_directory.rb') diff --git a/lib/byteback/backup_directory.rb b/lib/byteback/backup_directory.rb index 9355a1d..e557dfe 100644 --- a/lib/byteback/backup_directory.rb +++ b/lib/byteback/backup_directory.rb @@ -139,7 +139,7 @@ module Byteback # Create a new snapshot of 'current' # def new_snapshot!(time = Time.now) - snapshot_path = time.strftime(dir+"/%Y-%m-%dT%H:%M%z") + snapshot_path = time.strftime(dir.path + "/%Y-%m-%dT%H:%M%z") Snapshot.new(self, snapshot_path).create!(current.path) end -- cgit v1.2.1