Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby rvm不';在使用新的gemset时不会通知_Ruby_Macos_Rvm_Zsh - Fatal编程技术网

Ruby rvm不';在使用新的gemset时不会通知

Ruby rvm不';在使用新的gemset时不会通知,ruby,macos,rvm,zsh,Ruby,Macos,Rvm,Zsh,我在每个项目中使用rvmrc文件。当我cd进入我的项目时,终端/rvm并不表示我正在使用新的gemset。我如何设置它 如果有帮助:我正在使用oh my zsh。这可能取决于您的项目文件,基本上,当省略use关键字时,rvm不会打印有关使用的信息: rvm 1.9.3 # will be quiet rvm use 1.9.3 # will print: Using... 当您将它们放入.rvmrc中时,也会产生相同的结果,同时生成新的。使用--rvmrc的rvmrc将以相同的方式运行

我在每个项目中使用rvmrc文件。当我
cd
进入我的项目时,终端/rvm并不表示我正在使用新的gemset。我如何设置它


如果有帮助:我正在使用oh my zsh。

这可能取决于您的项目文件,基本上,当省略
use
关键字时,rvm不会打印有关使用的信息:

rvm 1.9.3     # will be quiet
rvm use 1.9.3 # will print: Using...
当您将它们放入
.rvmrc
中时,也会产生相同的结果,同时生成新的
。使用
--rvmrc
的rvmrc
将以相同的方式运行:

rvm 1.9.3 --rvmrc     # `cd` will be quiet
rvm use 1.9.3 --rvmrc # `cd` will print: Using...

你读过文档中的章节了吗?底部有一张关于oh my zsh的便条。RVM也应该自动处理这个问题,但这个答案可能会帮助您:使用:
RVM使用1.9。3@app1--创建--rvmrc