Getting Ruby, Rails, Capistrano and SVN up and running on Windows XP
Here are the basic steps of getting up and running with Ruby, rails, SVN, and Capistrano on Windows:
1. Download and install InstantRails- Follow the instructions on “Getting started with InstantRails”
2. gem install capistrano
4. Download TortoiseSVN for Windows XP
5. Set your Path variable in Windows XP- Right click on “My Computer”
- Click on Properties
- Click on the Advanced Tab
- Click on Environment Variables
- In the bottom pane, selecxt the variable Path and click on Edit
- Separate each directory with a ”;”, and add the following directories:
- c:\InstantRails\php;
- c:\InstantRails\ruby\bin;
- c:\InstantRails\mysql\bin;
- c:\InstantRails\apache\bin;
6. Make a new rails application
- open a command window and go to c:\InstantRails\rails_apps\
- type “rails your_app” without the double-quotes. “your_app” is the name of your application.
7. Apply capistrano to your application directory.
- If you’re using Capistrano 1.
*, then type “cap—apply-to your_app”.
- If you’re using Capistrano 2.
*, then type “capify your_app”
- (To find out what version of Capistrano you’re using, type “cap—version”.
Posted by David Beckwith on Jul 23, 2007