vpoola88
vpoola88

Reputation: 3999

RVM, Rails not Installed?

This is similar to RVM finding system gems' executables.

Everytime I try to do rails s, I get back Rails is not currently installed bla bla. If I then specify rvm --default 1.9.3, it then works. However, if I leave the app, and go back into it, same issue. Here is my PATH file..

# export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"

  PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

  [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

Upvotes: 1

Views: 409

Answers (1)

mpapis
mpapis

Reputation: 53158

You need to use login shell, here is an example for Ubunutu: https://rvm.io/integration/gnome-terminal/

Upvotes: 1

Related Questions