Installare Ruby on Rails 3 oggi è molto piu semplice grazie a due tool che aiutano a gestire le dipendenze: RVM per avere diverse istanze di ruby ognuna con un suo set di gemme e bundler che aiuta a gestire i set di gemme necessari per ogni istanza di ruby on rails.
Per installare RVM bisogna innanzitutto assicurarsi che siano installati alcuni pacchetti:
sudo apt-get install subversion bison git-core curl zlib1g-dev libssl-dev
Successivamente lanciare il seguente comando:
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
a questo punto inserire in ~/.bashrc la seguente linea:
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
e voilà, una volta riavviata la shell rvm è pronto per essere utilizzato, per installare ruby 1.9.2 (al momento l’ultima release stabile) basta lanciare il comando:
rvm pkg install zlib
rvm install ruby-1.9.2
Read more…
While I was updating my ubuntu I’ve accidentaly discovered this interesting tool, byobu, the name is pretty strange, its japanese and the word means “decorative multi-panel screens that serve as folding room dividers”. It works upon screen adding some very interesting features, a nice toggle-able skinnable status notification area that can display some interesting info, and a Fn key approach to the windows management (es: F2 new win, F3 prev win, F4 next win and so on). This is how it looks like:

If you want to open byobu everytime you open screen you can just run:
$ echo alias screen=’byobu’ >>~/.bash_aliases
and restart the shell.
Social Networks