Add "require time" so that Date.today
works on 1.9.3
This commit is contained in:
parent
2fd3db12f0
commit
e3b16db8c9
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class BuildUbuntuBoxTask < ::Rake::TaskLib
|
||||||
end
|
end
|
||||||
|
|
||||||
def default_box_file
|
def default_box_file
|
||||||
|
require 'time'
|
||||||
"lxc-#{@release}-#{@arch}-#{Date.today}.box"
|
"lxc-#{@release}-#{@arch}-#{Date.today}.box"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue