
How do I get started with Ruby on Rails?I want to know in a nutshell how I can get to install and use Ruby on Rails. I have been to rubyonrails.org but the download procedure is not clear cut. I'm basically a C++ and .NET developer. I am interested to use RubyOnRails for my web apps. Please give a straightforward and clear cut way to install start developing with RubyOnRails. Thanks a lot. First off, I imagine that it'd be darn useful to have a definition of what "Ruby on Rails" is, in the first place, because every time I hear the phrase, I think that it must be some sort of game for my daughter. :-)
So it's a new type of programming environment that's well-suited for Internet applications, though I have heard from software developers that it's still early in its evolution and unlikely to be suitable for large scale professional software deployments. In terms of getting started, the official place to start is the Ruby On Rails Wiki, where they have a section entitled Getting Started with Rails. Your first step is to ensure that you have the latest version of Ruby itself (Rails is an add-on to the Ruby programming language), which you can find at ruby-lang.org. Ruby on Rails is available for a wide variety of operating systems too, ranging from Windows to Mac OS X, and a wide variety of different Linux distributions too. In fact, my Mac OS X system (running Tiger 10.4.5) already has Ruby pre-installed at /usr/bin/ruby. Type man ruby within a Mac Terminal (Applications --> Utilities --> Terminal to launch a command line terminal as needed). As the man page says, "If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the concept of LISP, but don't like too much parentheses, Ruby may be the language of your choice." You also need to be running the Apache web server, which is freely available for all of the operating systems listed above too, and pre-installed with most modern Unix-based distributions, including Mac OS X. Then you'll need to configure Apache to be Rails-friendly, as detailed in How to Set Up the Base URLs of your Rails Apps. Lots of work getting everything set up "just so", I agree with you. Once you're ready to roll, I strongly encourage you to check out the splendid article the Curt Hibbs wrote for O'Reilly's ONLamp site, called Rolling with Ruby on Rails. I hope that gets you going with Ruby on Rails. It's very interesting and if I were still an active programmer, I know I'd be experimenting with it too.
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon
Categorized:
Computer and Internet Basics
(Article 4242)
Tagged: Previous: What's my Yahoo account password? Next: How do I export my America Online (AOL) Address Book and Email? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. Is Knowing Ruby a prequisite to use Ruby on Rails? Posted by: Satish Talim at October 23, 2005 7:10 AMActually, you *can* get started with Rails without really knowing Ruby. many people have learned Ruby as they were building their first Rails web app. The easiest way to install and get stated with Rails on OSX is to use Locomotive: http://locomotive.sourceforge.net/ and on Windows, use Instant Rails: http://instantrails.rubyforge.org/ Posted by: Curt Hibbs at October 23, 2005 8:29 AMThe article by Curt Hubbis was extremely useful. Thanks for your help. I have a lot to say, but ...
I do have a comment, now that you mention it!
|
![]()
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|