How hard is it to get started with Ruby on Rails?
Ruby on Rails is a Web application framework written in the Ruby programming language. To get started, download the Instant Rails ZIP file at www.rubyonrails.org and extract the package into a directory with no spaces in the path name. The Instant Rails application contains everything you need, including Ruby, Apache, MySQL, PHPMyAdmin and Rails.
To get started, click the "I" button on the main menu, choose "Configure/Windows Host File" and add the following lines to the host file for the MyCookbook and Typo Web applications:
127.0.0.1 www.mycookbook.com
and
127.0.0.1 typo
From the main menu, choose Rails Applications/Manage Rails Applications, click the check box next to the cookbook application and click the "Start SCGI Server" button. Launch a Web browser and aim it at www.mycookbook.com to see the results.
The host file entry you made ensures that your browser connects to the server you just installed using the hostname expected by the application. After this works, you can return to the main Instant Rails menu and turn on the included blogging application named Typo. Do it the same way you enabled the cookbook (check the box and start the SCGI server). Aiming the browser at http://typo then lets you configure your Instant Rails-based blog.
| Use this form to start a public discussion with other Linux World users on this article. Log In | Register for an account (Why you should) |
Note: Register to have your user name appear; otherwise your comment will show up as "Anonymous."
*Anonymous comments will only appear once they are approved by the moderator.
• Dell puts Linux and Atom in Vostro PCs
• Mozilla names best Firefox 3 add-ons
• Torvalds: Fed up with the 'security circus'
• Dell Latitude ON - big win for Linux
• Open source advocates hail appeals court ruling
LinuxWorld Conference and Expo San Francisco, August 4-7, 2008.
Linux Plumbers Conference Portland, OR, Sept. 16-19, 2008.
FreedomHEC Santa Monica, November 8-9, 2008.