If you ever get key not found errors when deploying with Capistrano, then:
When ~/.bashrc contains first lines like this, any code afterwards won't be sourced:
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac