为什么我在运行"gem pristine --all"后不断出现这些错误

use*_*235 8 ruby rubygems ruby-on-rails

我尝试运行,gem pristine --all并继续在控制台中获取此信息.

当我跑gem pristine --all我得到这个:

Permission denied....

我甚至试图gem install为每一个做gem,仍然得到这个:

Ignoring binding_of_caller-0.7.2 because its extensions are not built. Try: gem pristine binding_of_caller --version 0.7.2 Ignoring byebug-5.0.0 because its extensions are not built. Try: gem pristine byebug --version 5.0.0 Ignoring debug_inspector-0.0.2 because its extensions are not built. Try: gem pristine debug_inspector --version 0.0.2 Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2 Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7 Ignoring json-1.8.3 because its extensions are not built. Try: gem pristine json --version 1.8.3 Ignoring mysql-2.9.1 because its extensions are not built. Try: gem pristine mysql --version 2.9.1 Ignoring mysql2-0.3.18 because its extensions are not built. Try: gem pristine mysql2 --version 0.3.18 Ignoring nokogiri-1.6.6.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.6.2 Ignoring pg-0.18.2 because its extensions are not built. Try: gem pristine pg --version 0.18.2

Len*_*ran 7

使用以下命令将RVM更新为> 1.26.11或稳定:

rvm get stable
Run Code Online (Sandbox Code Playgroud)

取自这里.


omi*_*kes 5

对我来说,这就像安装Bundler一样简单:

gem install bundler
Run Code Online (Sandbox Code Playgroud)