Your SlideShare is downloading. ×
Ruby Installation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ruby Installation

990
views

Published on

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

Published in: Technology, Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
990
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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]

×