You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
354 B

  1. # This file loads the proper rgloader/loader.rb file that comes packaged
  2. # with Vagrant so that encoded files can properly run with Vagrant.
  3. if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
  4. require File.expand_path(
  5. "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
  6. else
  7. raise "Encoded files can't be read outside of the Vagrant installer."
  8. end