Fw: [問題] RVM is not a function

看板Linux作者 (raison detre)時間11年前 (2014/10/02 10:50), 編輯推噓0(003)
留言3則, 2人參與, 最新討論串1/1
※ [本文轉錄自 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 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.250.2.107 ※ 文章網址: http://www.ptt.cc/bbs/Ruby/M.1412218022.A.AA9.html ※ 發信站: 批踢踢實業坊(ptt.cc) ※ 轉錄者: ireullin (111.250.2.107), 10/02/2014 10:50:00

10/02 16:24, , 1F
你有寫.bashrc嗎?
10/02 16:24, 1F

10/02 18:32, , 2F
有~~~我將bashrc中的source那行拿掉,重新開一個
10/02 18:32, 2F

10/02 18:33, , 3F
terminal但還是不行,要重開機嗎
10/02 18:33, 3F
文章代碼(AID): #1KBBrQq9 (Linux)