Adding Subversion to Your Path for Rails Deployments on Windows
by dbaldwin
One dependency for Capistrano deployments is that a command-line SVN client is installed on the local machine. While deploying on Windows you may run into the following error:
No such file or directory - svn info
This means you’ll need to add the SVN client to your path so that it can be executed from anywhere on your system. Adding the SVN client to your path is relatively straightforward:
- Open Control Panel Double-click the System icon
- Click on the Advanced tab
- Click on Environment Variables
- In the System variables list edit the Path variable
- Now add the path to your SVN client folder. Be sure to include the bin folder in your path
If you have a command prompt open you’ll most likely need to close it and open a new one. Your Capistrano deployments should now work without error.
