Monthly Archives: March 2012

Installing rvm on ubuntu

First install curl: $ sudo apt-get install curl libcurl3 Back up .bashrc: $ cp .bashrc .bashrc.backup Install rvm: $ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) Check if this line was added to .bashrc, if not, paste it to your .bashrc

Posted in rails, ruby, rvm, ubuntu

Deleting a current line of text in vim

To delete: Go to command mode (press escape key) Press dd or :d to delete the current line

Posted in vim