Ruby

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
(Ruby Installation)
Line 3: Line 3:
= Installation =
= Installation =
== Ruby Installation ==
== Ruby Installation ==
-
* Install ruby 1.9.1 (it will actually install 1.9.3)
+
=== Install ruby 1.9.3 ===
 +
* Ubuntu 12.04 (it says 1.9.1 but is actually 1.9.3)
<pre>
<pre>
$ sudo apt-get install ruby1.9.1  
$ sudo apt-get install ruby1.9.1  
 +
</pre>
 +
* Higher than 12.04 (not sure about 12.10 but at least 13.04 or higher)
 +
<pre>
 +
$ sudo apt-get install ruby
</pre>
</pre>

Revision as of 11:28, 17 November 2013


Contents

Installation

Ruby Installation

Install ruby 1.9.3

  • Ubuntu 12.04 (it says 1.9.1 but is actually 1.9.3)
$ sudo apt-get install ruby1.9.1 
  • Higher than 12.04 (not sure about 12.10 but at least 13.04 or higher)
$ sudo apt-get install ruby 

Header Installation

  • To install header files for compiling extension modules for Ruby,
$ sudo apt-get install ruby1.9.1-dev

Bundler Installation

$ sudo gem install bundler  
Personal tools