Ruby-on-Rails
  Home arrow Ruby-on-Rails arrow Page 4 - Installing Ruby on Rails
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
RUBY-ON-RAILS

Installing Ruby on Rails
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2007-10-10

    Table of Contents:
  • Installing Ruby on Rails
  • Installing Ruby
  • Installing Rails
  • Installing Ruby on Rails for the Mac

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Installing Ruby on Rails - Installing Ruby on Rails for the Mac


    (Page 4 of 4 )

    If you own a Mac with OS X as your operating system, chances are you already have Ruby installed. To find out, go to Applications>Utilities>Terminal (double click), and then enter ruby-v to check Ruby's version number. You will hopefully see Ruby version 1.8.2 or later. If not, you will need to install Ruby manually.

    Go to http://rubygems.rubyforge.org. Click the Download link. This will open the downloads page. Select the most current version of RubyGems and download it. After you have downloaded the program, go to the directory you saved it in on your Terminal application and enter the following text into your prompt:


    tar xzf rubygems-0.8.10.tar.gz

    cd rubygems-0.8.10

    sudo ruby setup.rb

    Next you'll want to install Rails. To do that, enter the following:


    sudo gem install rails

    You will be asked if you wish to install several types of dependencies; say yes to all of them.

    Installing MySql

    You will also need to install a database program if you wish to program in Ruby. You can get MySql for free at http://dev.mysql.com. For this example, I downloaded the Windows Essentials version (4.1.22).

    Once the application is downloaded, double click on the MSI file. This will open the MySQL Server Setup Wizard. Click the Next button. Now you will be be asked to choose a setup type. The default is typical, and I recommend using this. Click the Next button again. Finally, click the Install button. Some files will be extracted, and you will be asked to sign up to MySql.com. You can do this now if you like or later. I chose to skip the sign up, and clicked the Next button once more.

    And that's it. You should be all set to begin programming with Ruby on Rails. Fortunately for you, I've already written a series to teach how to get started doing just that!


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Ruby on Rails is one my new favorite languages. When I first tried to install it, I...
     

    RUBY-ON-RAILS ARTICLES

    - Iterating and Incrementing Strings in Ruby
    - Comparing and Manipulating Strings in Ruby
    - Strings in Ruby
    - Ruby On Rails: Making Your First Dynamic Site
    - Ruby on Rails: Beginning Rails
    - Ruby: Modules, Mixins, Fixins, and Rails
    - Controlling Information Access with the Rail...
    - URLs, Filters and the Rails Action Controller
    - Flash and the Rails Action Controller
    - Rails Action Controller
    - Dropping and Sorting with AJAX and script.ac...
    - Drag and Drop with script.aculo.us and Rails
    - Introducing script.aculo.us
    - Ruby Classes and Objects
    - Ruby Loops






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT