私はまだrvmコマンドの後に私はまだ1.8.7であると分かりません。 Iveはrvmのインストール手順に従いました。すべてがうまくいくように見えました。これを解決するためにはどこを探しますか?rvm use 1.9.2 rubyを使って私を去る1.8.7
[email protected]:~$ rvm use 1.9.2 --default
Using /home/andrew/.rvm/gems/ruby-1.9.2-p290
[email protected]:~$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
[email protected]:~$
[email protected]:~$ rvm info
ruby-1.9.2-p290:
system:
uname: "Linux unifex 2.6.22-3-amd64 #1 SMP Sun Nov 4 18:18:09 UTC 2007 x86_64 GNU/Linux"
bash: "/bin/bash => GNU bash, version 3.1.17(1)-release (x86_64-pc-linux-gnu)"
zsh: " => not installed"
rvm:
version: "rvm 1.9.2 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]"
ruby:
interpreter: "ruby"
version: "1.9.2p290"
date: "2011-07-09"
platform: "x86_64-linux"
patchlevel: "2011-07-09 revision 32553"
full_version: "ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]"
homes:
gem: "/home/andrew/.rvm/gems/ruby-1.9.2-p290"
ruby: "/home/andrew/.rvm/rubies/ruby-1.9.2-p290"
binaries:
ruby: "/home/andrew/.rvm/rubies/ruby-1.9.2-p290/bin/ruby"
irb: "/home/andrew/.rvm/rubies/ruby-1.9.2-p290/bin/irb"
gem: "/home/andrew/.rvm/rubies/ruby-1.9.2-p290/bin/gem"
rake: "/home/andrew/.rvm/gems/ruby-1.9.2-p290/bin/rake"
environment:
PATH: "/home/andrew/.rvm/gems/ruby-1.9.2-p290/bin:/home/andrew/.rvm/gems/[email protected]/bin:/home/andrew/.rvm/rubies/ruby-1.9.2-p290/bin:/home/andrew/.rvm/bin:/usr/local/java/jdk1.6.0_20/bin:/usr/local/apache/maven/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/java/jdk1.6.0_03/bin"
GEM_HOME: "/home/andrew/.rvm/gems/ruby-1.9.2-p290"
GEM_PATH: "/home/andrew/.rvm/gems/ruby-1.9.2-p290:/home/andrew/.rvm/gems/[email protected]"
MY_RUBY_HOME: "/home/andrew/.rvm/rubies/ruby-1.9.2-p290"
IRBRC: "/home/andrew/.rvm/rubies/ruby-1.9.2-p290/.irbrc"
RUBYOPT: ""
gemset: ""
このコマンドを実行した後に 'which ruby'の出力は何ですか? –