Your SlideShare is downloading. ×
0
Ruby Installation
Ruby Installation
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

995

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
995
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. <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. <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. <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>

×