Extra protection in the rgloader file

This commit is contained in:
Mitchell Hashimoto 2013-01-31 19:54:50 -08:00
parent 4e6496bed7
commit c8ae1a265a
1 changed files with 2 additions and 0 deletions

View File

@ -4,4 +4,6 @@
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
require File.expand_path(
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
else
raise "Encoded files can't be read outside of the Vagrant installer."
end