Use Instantrails to quickly build ruby on rails development environment
There's been a lot of interest in Ruby on Rails to see what's been praised by many people, but the development that has been done under Windows is a headache for Ruby on Rails's development environment, which is why Ruby on Rails has never started. Just saw the instantrails in Javaeye, a suite of all in one, to help you quickly build the Ruby on Rails development environment, immediately under a try, OK, relatively smooth, at least can run up with examples. Here's how to quickly build a ruby on Rails development environment with simple writing and instantrails.
1. Download Instantrails:
Download Address: http://rubyforge.org/frs/?group_id=904, I downloaded the latest version of 1.7.
2. In the local decompression Instantrails-1.7-win.zip, completes after runs InstantRails.exe the program.
Just run up, because to start MySQL and Apache, may prompt 80 ports to be occupied,
The Apache configuration file needs to be modified to get rid of the 80-port-related settings, such as 81. Here, you just have to search and replace it.
When you're done, restart Apache, and when you're done, you should look like the following picture:
At this point, you can start running the instance.
3. Starting with the leftmost icon, the rails applications\manage rails applications running the menu will show the following interface:
Here we select typo-2.6.0, click the Start with Mongrel button, and wait until the prompt in the pop-up command line window shows "use CTRL + C to Stop" and you can run the example program.
4. Enter the address in the browser: http://127.0.0.1:3002, the example is running up, is a blog program. After creating the user, set up, you can browse to the home page, as shown:
It's easy, because a friend who's been building a ruby on Rails development environment should try it.