From e3b16db8c928aa4566cbaf89be2512b9413d4ff0 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 21 Apr 2013 23:46:21 -0300 Subject: [PATCH] Add "require time" so that `Date.today` works on 1.9.3 --- tasks/boxes.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/boxes.rake b/tasks/boxes.rake index f273a61..4753b7e 100644 --- a/tasks/boxes.rake +++ b/tasks/boxes.rake @@ -54,6 +54,7 @@ class BuildUbuntuBoxTask < ::Rake::TaskLib end def default_box_file + require 'time' "lxc-#{@release}-#{@arch}-#{Date.today}.box" end end