<ul><li>Here are the steps to install Ruby on a Windows machine. </li></ul><ul><li>NOTE: You may have different version av...
<ul><li>Here are the steps to be followed to install Ruby on a Unix machine: </li></ul><ul><li>NOTE: Before proceeding mak...
<ul><ul><li>After installation, make sure everything is working fine by issuing the following command on the command-line:...
Upcoming SlideShare
Loading in...5
×

Ruby Installation

1,008

Published on

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
1,008
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ruby Installation

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

    Clipping is a handy way to collect important slides you want to go back to later.

×