作者ireullin (raison detre)
看板Linux
標題Fw: [問題] RVM is not a function
時間Thu Oct 2 10:50:00 2014
※ [本文轉錄自 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://webptt.com/m.aspx?n=bbs/Ruby/M.1412218022.A.AA9.html
※ 發信站: 批踢踢實業坊(ptt.cc)
※ 轉錄者: ireullin (111.250.2.107), 10/02/2014 10:50:00
1F:→ danny8376: 你有寫.bashrc嗎? 10/02 16:24
2F:→ ireullin: 有~~~我將bashrc中的source那行拿掉,重新開一個 10/02 18:32
3F:→ ireullin: terminal但還是不行,要重開機嗎 10/02 18:33