Environment::DEFAULT_HOME got deprecated on Vagrant 1.2+
This commit is contained in:
parent
f2be75a45d
commit
e02b2d7b3c
1 changed files with 2 additions and 2 deletions
4
development/Vagrantfile
vendored
4
development/Vagrantfile
vendored
|
@ -2,7 +2,7 @@
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
def local_apt_cache(box_name)
|
def local_apt_cache(box_name)
|
||||||
cache_dir = File.join(File.expand_path(Vagrant::Environment::DEFAULT_HOME),
|
cache_dir = File.join(File.expand_path('~/.vagrant.d'),
|
||||||
'cache',
|
'cache',
|
||||||
'apt',
|
'apt',
|
||||||
box_name)
|
box_name)
|
||||||
|
@ -12,7 +12,7 @@ def local_apt_cache(box_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
def local_gem_cache(box_name)
|
def local_gem_cache(box_name)
|
||||||
cache_dir = File.join(File.expand_path(Vagrant::Environment::DEFAULT_HOME),
|
cache_dir = File.join(File.expand_path('~/.vagrant.d'),
|
||||||
'cache',
|
'cache',
|
||||||
'gems',
|
'gems',
|
||||||
'source',
|
'source',
|
||||||
|
|
Loading…
Add table
Reference in a new issue