Ruby Installation
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Ruby Installation

on

  • 1,552 views

About this Tutorial , Hello World , Loops , Branching , Containers , Arrays , Hashes , Strings ,Regular Expressions , Subroutines ,Exceptions ,Terminal IO ...

About this Tutorial , Hello World , Loops , Branching , Containers , Arrays , Hashes , Strings ,Regular Expressions , Subroutines ,Exceptions ,Terminal IO ,File IO , How OOP is Ruby? , Object Oriented Programming Concepts , Simple OOP in Ruby

Statistics

Views

Total Views
1,552
Views on SlideShare
1,552
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ruby Installation Presentation Transcript

  • 1.
    • Here are the steps to install Ruby on a Windows machine.
    • NOTE: You may have different version available at the time of installation.
    • Download a zipped file having latest version of Ruby. Follow Download Link. http://www.ruby-lang.org/en/downloads/
    • After having downloaded the Ruby archive, unpack it and change into the newly created directory:
    • Double-click the Ruby1.6.7.exe file. The Ruby installation wizard starts.
    • Click Next to move to the Important Information page of the wizard and keep moving till Ruby installer completes installing Ruby.
    Ruby Installation - Windows
  • 2.
    • Here are the steps to be followed to install Ruby on a Unix machine:
    • NOTE: Before proceeding make sure you have root privilege.
    • Download a zipped file having latest version of Ruby. Follow Download Link.
    • http://www.ruby-lang.org/en/downloads/
    • After having downloaded the Ruby archive, unpack it and change into the newly created directory:
      • $ tar -xvzf ruby-1.6.7.tgz
      • $ cd ruby-1.6.7
    • Now configure and compile the source code as follows:
      • $ ./configure
      • $ make
    • Finally install Ruby interpreter as follows:
      • $ su -l root # become a root user
      • $ make install
      • $ exit # become the original user again
    Ruby Installation - Unix
  • 3.
      • After installation, make sure everything is working fine by issuing the following command on the command-line:
    • $ruby –v
    • ruby 1.6.7 (2002-06-04) [i386-netbsd]