Hi I'm trying to run rvm on my raspberry pi but keep getting the error rvm is not a function when I use the command in LXTerminal:

rvm use 2.0.0

It gives an error saying I should use a login shell. So my question is how can I get a login shell on my raspberry pi?

  • What instructions did you follow for setting it up and did you log out and back in? – Steve Robillard Nov 29 '13 at 16:45
  • I installed with te following command: \curl -L get.rvm.io | bash -s stable --ruby And I did log in and out – Jaap Wijnen Nov 30 '13 at 17:12
  • What happens if you do this first source ~/.rvm/scripts/rvm – Steve Robillard Nov 30 '13 at 19:01

To get a login shell, you need to do bash -l or /bin/bash --login after you start the terminal.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.