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.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/bundler.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Bundler-tempfile-for-pr


# Commit to git

git add lib/vagrant/bundler.rbgit commit -m "better docs for Vagrant::Bundler#tempfile"


# Open pull request

gem 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!