问题
I've just run rvm rvmrc to ruby-version on a couple of projects. Looked at the produced files, they match what googling says should be in them (.ruby-version & .ruby-gemset).
When I cd into the project directories, I no longer get the Using /home/user/.rvm/gems/ruby-1.9.3-p392 with gemset projectname info message.
Is there any way for get info message back?
Thanks.
回答1:
it should be enough to run:
echo rvm_use_flag=2 >> ~/.rvmrc
It will tell RVM to display the message always (it does not work for some older project .rvmrc
files that did not support it).
来源:https://stackoverflow.com/questions/16474680/not-getting-info-message-after-converting-rvm-from-rvmrc-to-ruby-version