Skip to content

Instantly share code, notes, and snippets.

@andreyuhai
Created February 23, 2020 08:37
Show Gist options
  • Save andreyuhai/6b3dabb628d761db6632e5d6dd32514d to your computer and use it in GitHub Desktop.
Save andreyuhai/6b3dabb628d761db6632e5d6dd32514d to your computer and use it in GitHub Desktop.
Capistrano - Environment Variables

Source

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment