LinuxWorld

Ruby on Rails

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.

React: Give us your thoughts on the issues here.
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.

Featured Whitepapers
Newsletter sign-up

Sign up for one of Network World's newsletters compliments of Linux World

Linux & Open Source News Alert
Web Applications Alert
Video & Podcast Alert
Security: Threat  Alert
Virtualization Alert

Email Address: