为什么'USER INSTALLATION DIRECTORY'与Ruby版本不匹配?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了为什么'USER INSTALLATION DIRECTORY'与Ruby版本不匹配?相关的知识,希望对你有一定的参考价值。

此问题是“ What is "USER INSTALLATION DIRECTORY" in rubyGems env”的第二部分,但最终没有得到回答。

现在,我想知道为什么在我的情况下'USER INSTALLATION DIRECTORY不适合Ruby版本。另一个问题是bundle install默认使用什么选项,也许是--user-install

rvm list

 * ruby-2.5.0 [ x86_64 ]
=> ruby-2.5.1 [ x86_64 ]
   ruby-2.6.0-preview1 [ x86_64 ]

gem env

RubyGems Environment:
  - RUBYGEMS VERSION: 2.7.7
  - RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/ivan/.rvm/gems/ruby-2.5.1
  - USER INSTALLATION DIRECTORY: /home/ivan/.gem/ruby/2.5.0
  ...
答案
None

以上是关于为什么'USER INSTALLATION DIRECTORY'与Ruby版本不匹配?的主要内容,如果未能解决你的问题,请参考以下文章

Eclipse Plugin Installation and Windows User Access Control

installation failed with message install_canceled_by_user应用安装失败

E:Package 'Vim' has no installation candidate问题解决

Package 'build-essential' has no installation candidate

qmlscene: could not find a Qt installation of ''

Installation did not succeed.The application could not be installed: INSTALL_FAILED_USER_RESTRICTED