我正在尝试解决有关Passenger的一些问题。我目前正在使用ruby-1.9.3-p392。当我 cd 进入我的应用程序目录时,我收到以下消息:
ruby-1.9.3-p429 is not installed.
To install do: 'rvm install ruby-1.9.3-p429'
我注意到在我的“rvm info”中,ENV 提到了一些 ruby 实例:
environment:
PATH: "/usr/local/heroku/bin:
/Users/jem/.rvm/gems/ruby-1.9.3-p392/bin:
/Users/jem/.rvm/gems/ruby-1.9.3-p392@global/bin:
/Users/jem/.rvm/rubies/ruby-1.9.3-p392/bin:
所以查看我看到的目录:
➜ .rvm cd rubies
➜ rubies ll
total 8
drwxr-xr-x 8 jem staff 272 May 22 10:41 ./
drwxr-xr-x 30 jem staff 1020 May 22 11:22 ../
lrwxr-xr-x 1 jem staff 38 May 22 10:41 default@ -> /Users/jem/.rvm/rubies/ruby-1.9.3-p392
drwxr-xr-x 7 jem staff 238 Dec 7 2012 ree-1.8.7-2012.02/
drwxr-xr-x 7 jem staff 238 Mar 20 2013 ruby-1.8.7-p358/
drwxr-xr-x 9 jem staff 306 Mar 20 2013 ruby-1.9.2-p290/
drwxr-xr-x 8 jem staff 272 Dec 8 2012 ruby-1.9.3-p327/
drwxr-xr-x 8 root staff 272 Mar 13 2013 ruby-1.9.3-p392/
➜ rubies ll ../gems
total 0
drwxr-xr-x 15 jem staff 510 Jul 30 22:38 ./
drwxr-xr-x 30 jem staff 1020 May 22 11:22 ../
drwxr-xr-x 2 jem staff 68 Dec 7 2012 cache/
drwxr-xr-x 3 jem staff 102 Dec 7 2012 ree-1.8.7-2012.02/
drwxr-xr-x 7 jem staff 238 Dec 7 2012 ree-1.8.7-2012.02@global/
drwxr-xr-x 7 jem staff 238 Mar 20 2013 ruby-1.8.7-p358/
drwxr-xr-x 7 jem staff 238 Mar 20 2013 ruby-1.8.7-p358@global/
drwxr-xr-x 7 jem staff 238 Mar 20 2013 ruby-1.9.2-p290/
drwxr-xr-x 7 jem staff 238 Mar 20 2013 ruby-1.9.2-p290@global/
drwxr-xr-x 8 jem staff 272 Mar 13 2013 ruby-1.9.3-p327/
drwxr-xr-x 7 jem staff 238 Dec 7 2012 ruby-1.9.3-p327@global/
drwxr-xr-x 7 jem staff 238 Dec 7 2012 ruby-1.9.3-p327@rails3tutorial2ndEd/
drwxr-xr-x 7 jem staff 238 May 21 23:48 ruby-1.9.3-p392/
drwxr-xr-x 7 root staff 238 Mar 13 2013 ruby-1.9.3-p392@global/
drwxr-xr-x 2 jem staff 68 Jul 30 22:38 ruby-1.9.3-p429/
所以我的问题是,这两个目录有什么区别,这种冗余会不会给我带来问题?太感谢了!