Just download and installed instant rails, I had been fumbling about trying to get different parts of ruby running as a server but hadn’t much success so I’m trying an application called instant rails which should give me everything I need to get me started. Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, Apache, and MySQL, all preconfigured and ready to run.
Once unpacked I installed Instantrails and fired the puppy up to be greeted to the error message
MySQL port (3306) is used by "" (mysqld-nt.exe) !
After hours of trawling through the web I found that there was an exe file running in the background called wait for it -mysqld-nt.exe – hogging the MySQL port, so once that was removed via the task manager everything seemed to start up fine. Yepe let the rails adventure commence.
Installation steps as follows
Download and unzip the Instant Rails zip file.
* Make sure there are no space characters in the installation
path, and then start InstantRails.exe.
* Instant Rails will detect that it is being started from a new
directory and ask if you want to have it update the paths in the
all of the configuration files... Just say yes.
* Click on the I button to drop down the main menu and select
Configure > Windows Hosts file.
* In the editor that pops up, add this line to the end of the file:
127.0.0.1 www.mycookbook.com
* Save the change and exit the editor.
* In the main menu, select Rails Applications > Manage Rails Applications...
* Check the checkbox next to the cookbook application.
* Click on the "Start with Mongrel" button. What I’ve found is sometimes the mongel server will not start for one reason or another, the number of the port is defaulted to 3001 change to 3000 and restart.
* Once the Mongrel server says "Mongrel available at 0.0.0.0:3001", open
our browser and go to:
http://www.mycookbook.com/ this might not work but http://localhost:3000 should