vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Bundler#tempfile
This method returns a proper "tempfile" on disk. Ruby's Tempfile class would work really great for this, except GC can come along and remove the file before we are done with it. This is because we "close" the file, but we might be shelling out to a subprocess.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/bundler.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Bundler-tempfile-for-pr
# Commit to gitgit add lib/vagrant/bundler.rbgit commit -m "better docs for Vagrant::Bundler#tempfile"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Bundler-tempfile-for-pr
hub pull-request
# Celebrate!