vagrant/docs/getting-started/rebuild.md

1.0 KiB

layout title
getting_started Getting Started - Rebuild Instantly

Rebuild Instantly

Let's assume its time to work on that rails project again. Maybe its the next day at work, maybe its the next year at work, but your boss wants you to work on that rails project again. Worried about dependencies? Rails versions mismatched maybe? Server versions changed?

Don't worry! We built the development environment for the rails project with Vagrant! Rebuilding is a snap.

Note: If you're following along and haven't already completely destroyed your virtual environment, please do so by running vagrant down so you can really experience this step of the getting started guide.

Are you ready for this? Go back to that rails project directory and issue the following command:

{% highlight bash %} $ vagrant up {% endhighlight %}

That's it! Really! In about 5 minutes or so after Vagrant completes setting up your environment, it should be exactly as you remembered it: same server layout, same dependency versions, no extraneous software, etc.