NoKarma/rbenv — comment on commit fb2026a86c665a77f62ce333e95c839f2513a35c
File:  line 0
By graywh:

~/.profile is always used when logging in through gdm, regardless of the login shell. Its run through /bin/sh, which defaults to dash on Ubuntu, but can be switched to bash.