Ruby Installation
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Ruby Installation

  • 1,575 views
Uploaded 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

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,575
On Slideshare
1,575
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
4
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]