Ruby: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 2: Line 2:
* https://www.ruby-lang.org/en/documentation/installation/
* https://www.ruby-lang.org/en/documentation/installation/
* apt-get install ruby will install v1.8 or v1.9.
* apt-get install ruby will install v1.8 or v1.9.
* I tried to install from the source (v2.2.1) on Ubuntu 14.04.
* I tried to install from the source (v2.2.1) on Ubuntu 14.04. The canonical method ./configure, make & sudo make install does not work at 'make' step. # See https://github.com/sstephenson/ruby-build/issues/690. Unfortunately the method of installing libffi-dev does not solve the error on Ubuntu 14.0.
<pre>
* The next method is [https://github.com/sstephenson/ruby-build#readme ruby-build]. Don't quite follow it.
$ ./configure
* http://stackoverflow.com/questions/26595620/how-to-install-ruby-2-1-4-on-ubuntu-14-04
$ make
$ sudo make install
</pre>
* Other installation methods include rbenv. See [http://stackoverflow.com/questions/26595620/how-to-install-ruby-2-1-4-on-ubuntu-14-04 this stackoverflow post].


= Documentation =
= Documentation =
https://www.ruby-lang.org/en/documentation/
https://www.ruby-lang.org/en/documentation/

Revision as of 15:54, 13 March 2015

Installation on Ubuntu

Documentation

https://www.ruby-lang.org/en/documentation/