2013年4月27日土曜日

Debian squeezeの、gnomeターミナルで、rvm useがエラーになってしまう。


Debian squeezeの、gnomeターミナルで、rvm useがエラーになってしまう。
indou@cf-t8:~$ rvm list
rvm rubies
ruby-1.9.3-p392 [ x86_64 ]
=* ruby-2.0.0-p0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
indou@cf-t8:~$ rvm use 1.9.3
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 a example.
indou@cf-t8:~$



再度gnomeターミナルを再起動して、
indou@cf-t8:~$ rvm list
rvm rubies
ruby-1.9.3-p392 [ x86_64 ]
=* ruby-2.0.0-p0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
indou@cf-t8:~$ rvm use 1.9.3
Using /home/indou/.rvm/gems/ruby-1.9.3-p392
indou@cf-t8:~$