将 rvm 从 .rvmrc 转换为 .ruby-version 后未收到信息消息 [英] Not getting info message after converting rvm from .rvmrc to .ruby-version

查看:42
本文介绍了将 rvm 从 .rvmrc 转换为 .ruby-version 后未收到信息消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在几个项目中运行 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 后未收到信息消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆