0

Every morning I need to fire this command

rvm use 1.9.3 --default

otherwise it was unable recognise the rails s or any command.

I have installed rvm for multiuser on ubuntu 12.04

Update:

rvm list ->

rvm rubies

=> ruby-1.9.3-p448 [ i686 ]

# Default ruby not set. Try 'rvm alias create default <ruby>'.

# => - current
# =* - current && default
#  * - default

Please suggest..

4

2 回答 2

3

You can set the deault ruby version using the command :

rvm use --default ruby-1.9.3-p448

After this command, everytime you open a new terminal, ruby-1.9.3-p448 will be used.

于 2013-10-08T04:47:36.243 回答
3

Have you set your terminal as a login terminal? Without doing so, you won't be able to set any default rubies and RVM will not work completely.

https://rvm.io/integration/gnome-terminal

于 2013-10-08T05:09:41.520 回答