Skip to content

Instantly share code, notes, and snippets.

@DanielKehoe
Created February 27, 2013 23:04
Show Gist options
  • Save DanielKehoe/5052678 to your computer and use it in GitHub Desktop.
Save DanielKehoe/5052678 to your computer and use it in GitHub Desktop.
RVM tells me to use the login shell but I already am
set aliases from ~/.oh-my-zsh/lib/aliases.zsh
added to PATH and ENV from ~/.zshrc
$ echo $SHELL
/bin/zsh --login
$ if [[ -o login ]]; then; print yes; else; print no; fi
yes
$ rvm -v
rvm 1.18.14 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
$ rvm list
rvm rubies
=* ruby-2.0.0-p0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
$ rvm use ruby-2.0.0-p0
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
$ echo $PATH
/Applications/KindleGen_Mac_i386_v2_7:/Users/danielkehoe/.bin:/usr/local/bin:/usr/bin:/usr/local/git/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/danielkehoe/.rvm/bin
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment