Notes on procedures for a clean Debian server installation
-
Install prerequisites:
apt-get install libffi5 libyaml-0-2 openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev ncurses-dev libyaml-dev
-
Ruby 2.0.0-p0 configure:
./configure --prefix=/usr/local --with-search-path=/usr
-
for gem to work, have a look at http://jacob.stanley.io/2010/10/27/sudo-gem-install-behind-a-proxy/
File /etc/environment
must contain:
LC_ALL=en_US.UTF-8
LANG=en_US.UF-8