This reverts 15de0bc, which I find to be harmful advice. El Capitan finally fixed
After reverting the offending documentation addition, my approach to solving problem (as implemented in this PR) is as follows:
Please observe more information for each of my commits from their commit messages.
The benefits of this approach:
Note that this probably "breaks" Alfred workflows again as pointed out in #289. However, Alfred purposely doesn't start shells in login mode so that they're isolated from user's terminal environment. Alfred's own documentation states that workflows should not depend on any particular setup in the user's environment. If someone makes private workflows for themselves and needs to use rbenv version switching, they should setup rbenv within the workflow.