Ruby
From KevinWiki
(Difference between revisions)
(Created page with "Category:Ruby = Installation = * Install ruby 1.9.1 (it will actually install 1.9.3) <pre> $ sudo apt-get install ruby1.9.1 </pre> * To install header files for compiling e...") |
(→Header Installation) |
||
(3 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
= Installation = | = Installation = | ||
- | + | == Ruby Installation == | |
+ | === 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> | </pre> | ||
- | * | + | * Higher than 12.04 (not sure about 12.10 but at least 13.04 or higher) |
<pre> | <pre> | ||
+ | $ sudo apt-get install ruby | ||
+ | </pre> | ||
+ | |||
+ | == Header Installation == | ||
+ | * To install header files for compiling extension modules for Ruby, | ||
+ | <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> | ||
+ | |||
+ | == Bundler Installation == | ||
+ | <pre> | ||
+ | $ sudo gem install bundler | ||
</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