问题描述
我刚刚在几个项目中运行 rvm rvmrc 到 ruby-version.查看生成的文件,它们匹配谷歌搜索中应该包含的内容(.ruby-version & .ruby-gemset).
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).
当我进入项目目录时,我不再获得 Using/home/user/.rvm/gems/ruby-1.9.3-p392 with gemset projectname 信息消息.
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?
谢谢.
推荐答案
运行应该就够了:
echo rvm_use_flag=2 >> ~/.rvmrc
它会告诉 RVM 始终显示消息(它不适用于一些不支持它的旧项目 .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).
这篇关于将 rvm 从 .rvmrc 转换为 .ruby-version 后未收到信息消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!