Learning New Things

I’ve been writing code since I was about 9 years old. I started on the Comodore 64! I’ve written C. Swift, Objective-C, and most frequently Python. This week I started learning Ruby/Rails.

In Python I use venv to manage virtual environments. Ruby has a similar tool called rvm. It was a bit tricky to get working with my .bashrc profile. It warned about —login and PATH.
The trick was putting this line at the end of my .bashrc:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

This video was fantastic at explaining rvm.

I hope you find this useful! I did!