当我在终端中打开一个新选项卡时,RVM无法读取.rvmrc文件

时间:2015-03-30 09:17:48

标签: ruby-on-rails ruby rvm rvmrc

当我使用'cd'访问该文件夹时,

rvmrc被调用。但是当我使用ctrl + shift + t在新终端中打开它时,rvmrc没有被加载。

以下是一些更详细的信息:

tech@pc113:~/workspace/apps$ type rvm | head -1
rvm is a function
-bash: type: write error: Broken pipe
tech@pc113:~/workspace/apps$ 

echo $ PATH

/home/tech/.rvm/gems/ruby-1.9.3-p551/bin:/home/tech/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/tech/.rvm/rubies/ruby-1.9.3-p551/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/tech/.rvm/bin:/home/tech/.rvm/bin:/home/tech/.rvm/bin

echo $ GEM_HOME

/home/tech/.rvm/gems/ruby-1.9.3-p551

echo $ GEM_PATH

/home/tech/.rvm/gems/ruby-1.9.3-p551:/home/tech/.rvm/gems/ruby-1.9.3-p551@global

哪个rake

/home/tech/.rvm/rubies/ruby-1.9.3-p551/bin/rake

有什么想法吗?

0 个答案:

没有答案