mitchellh / virtualbox

[ABANDONED] Create and modify virtual machines in VirtualBox using pure ruby.
http://mitchellh.github.com/virtualbox/
MIT License
245 stars 45 forks source link

Improve detection of VirtualBox on Mac OS X to search for MacPorts installations #65

Closed carsomyr closed 13 years ago

carsomyr commented 13 years ago

As a heavy MacPorts user and a recent user of Vagrant for work, I found that it only did detection of VirtualBox in /Applications/VirtualBox.app, and not /Applications/MacPorts/VirtualBox.app. FYI, that is the default installation directory of the virtualbox Port recently contributed: https://trac.macports.org/browser/trunk/dports/emulators/virtualbox. Would it be possible to perform detection with a glob expression along the lines of " /Applications/*/VirtualBox.app"?

mitchellh commented 13 years ago

Merged :) 5197722ef969953520221ff0ee66712b88545a04

Thanks! I'll push a release tonight or tomorrow.