RVM is not a function - Linux

Table of Contents

※ [本文轉錄自 Ruby 看板 #1KBBocgf ]

作者: ireullin (raison detre) 看板: Ruby
標題: [問題] RVM is not a function
時間: Thu Oct 2 10:46:58 2014

小弟想試著用JRuby去跑ROR
執行rvm use jruby-1.7.15之後
發生了以下的狀況
RVM is not a function, selecting rubies with 'rvm use ...' will not work.

You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for an example.

照了說明中的方式執行了 /bin/bash --login
還有官網中的方式調整gnome-terminal的設定
但是還是一直出現同樣的錯誤訊息
google了一下
大家的解法好像也都是上述兩種
請問還有沒有人遇過相同問題
我的作業系統是ubuntu 12.04




--

All Comments

Heather avatarHeather2014-10-02
你有寫.bashrc嗎?
Leila avatarLeila2014-10-03
有~~~我將bashrc中的source那行拿掉,重新開一個
Oscar avatarOscar2014-10-04
terminal但還是不行,要重開機嗎