Temporarily pin BOXEN_HOME to tmp/home

This commit is contained in:
John Barnette 2012-10-02 14:37:05 -07:00
parent 1282818edd
commit 6f37b06d86
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
/.bundle /.bundle
/bin /bin
/config/local.rb /config/local.rb
/tmp
/vendor/cache /vendor/cache

View file

@ -23,6 +23,10 @@ at_exit { myself.flock File::LOCK_UN }
Dir.chdir Pathname.new(__FILE__).realpath + "../.." Dir.chdir Pathname.new(__FILE__).realpath + "../.."
# FIX: temporarily set BOXEN_HOME to `./tmp/home` during porting.
ENV["BOXEN_HOME"] = File.expand_path("tmp/home")
# Auto-update code. This is done as early as possible so that changes # Auto-update code. This is done as early as possible so that changes
# to boxen support code or dependencies can be grabbed. # to boxen support code or dependencies can be grabbed.