Skip to content

Instantly share code, notes, and snippets.

@lukepolo
Created November 24, 2020 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukepolo/6c8ecd37adc41e2aa821ffab48c3dacf to your computer and use it in GitHub Desktop.
Save lukepolo/6c8ecd37adc41e2aa821ffab48c3dacf to your computer and use it in GitHub Desktop.
Vagrant Port Forwarding Bug
# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'yaml'
VAGRANTFILE_API_VERSION ||= "2"
confDir = $confDir ||= File.expand_path(File.dirname(__FILE__))
require File.expand_path(File.dirname(__FILE__) + '/scripts/localDev.rb')
Vagrant.require_version '>= 2.2.9'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
settings = YAML::load(File.read(confDir + "/LocalDev.yaml"))
LocalDev.configure(config, settings)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment