Tag Archives: bash

Setting up Cron jobs that call Ruby (RVM) or Shell Scripts via Bash

If you are on a unix system and want to set up a crontab (cron job) and you are using RVM, you must make sure to make bash act as if it had been invoked as a login shell by using the bash -l option. So if you were going to have a script run […]

Bash Terminal Customizations for RVM and Git with git-completion.sh

In process of customizing my bash terminal prompt in my ~/.bash_profile, I thought it would be great to show which RVM and Git branch I was on. You can make yours look similar to this: Screenshot of what Navid’s Bash Terminal Looks Like The solution is to use git-completion.sh. You can get it via git: […]