Ruby

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
(Ruby Installation)
(Header Installation)
 
Line 16: Line 16:
* To install header files for compiling extension modules for Ruby,
* 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