RVM is not a function - Linux

Donna avatar
By Donna
at 2014-10-02T10:50

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




--
Tags: Linux

All Comments

Heather avatar
By Heather
at 2014-10-02T15:42
你有寫.bashrc嗎?
Leila avatar
By Leila
at 2014-10-03T09:24
有~~~我將bashrc中的source那行拿掉,重新開一個
Oscar avatar
By Oscar
at 2014-10-04T22:57
terminal但還是不行,要重開機嗎

root VG 加入iscsi PV reboot 失敗

Aaliyah avatar
By Aaliyah
at 2014-09-30T21:45
各位版友 新手小妹我遇到一個問題 由於我server root空間不夠用,而我有使用LVM 然後我server便用iscsi連了nas,讓我server多一個磁碟可以用 然後我再把這磁碟建立PV,再把它加入root 的VG裡 然後再resize root LV的大小,完成,一切運作順利,root的確變 ...

如何得知所有LIBRARY的連結

Necoo avatar
By Necoo
at 2014-09-30T16:28
使用GCC寫C時,需要用math.h 所以編譯時GCC指令需要加入 -lm,才能夠連結到math.h 突然想到如何得知所有library的連結方式和位置 這樣可以先尋找出library,並加以連結 謝謝 - ...

gmail判為spam- 421-4.7.0 rate limited

Victoria avatar
By Victoria
at 2014-09-30T13:24
各位先進 小弟公司最近發現一些寄到gmail.com或者是透過google代管的server 被判為spam bulk sender./var/log/maillog內容如下 ################################### relay=ALT2.ASPMX.L.GOOGLE.COM[1 ...

Line Client

David avatar
By David
at 2014-09-30T02:34
這個週末想學習 Go,想說找個目標來寫 於是就實作一個簡單的 Line https://github.com/CaryLorrk/goline/releases/tag/v0.1.2 雖然可以用 Wine,也有人寫了 Pidgin 的 Plugin 不過想說反正寫都寫了,就放出來給大家看看吧 功能非 ...

CVE-2014-6271 Bash Shell出現重大漏洞

Brianna avatar
By Brianna
at 2014-09-29T22:44
如果以為沒有 web service 或是沒有 shell script 的 cgi 就不需要擔心, 那你就錯了。這篇告訴你 dhcpcd 也可以中獎的方法,超歡樂的...... https://www.trustedsec.com/september-2014/shellshock-dhcp-rce-pr ...