Ruby

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
(Header Installation)
 
(2 intermediate revisions not shown)
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>
== Header Installation ==
== Header Installation ==
-
* To install header files for compiling extension modules for the Rub,
+
* To install header files for compiling extension modules for Ruby,
<pre>
<pre>
 +
# 12.04
$ sudo apt-get install ruby1.9.1-dev
$ sudo apt-get install ruby1.9.1-dev
 +
</pre>
 +
 +
<pre>
 +
# higher than 12.04
 +
$ sudo apt-get install ruby-dev
</pre>
</pre>

Latest revision as of 11:30, 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,
# 12.04
$ sudo apt-get install ruby1.9.1-dev
# higher than 12.04
$ sudo apt-get install ruby-dev 

Bundler Installation

$ sudo gem install bundler  
Personal tools