4 5 6
# File 'lib/vigil/vagrant.rb', line 4 def self.run(cmd) Vigil.os._system "vagrant #{cmd}" end
8 9 10
# File 'lib/vigil/vagrant.rb', line 8 def self.use(box) Vigil.os._system %Q{ruby -pi -e 'sub(/(config.vm.box = )"[^"]+"/, "\\\\1\\"#{box}\\"")' Vagrantfile} end