[英]not available Gem::SafeYAML when to run 'bundle install'
When I try to run bundle install from the project, I get the following error: 当我尝试从项目运行捆绑包安装时 ,出现以下错误:
unavalible Gem :: SafeYAML when to run 'bundle install'
my version of rubygem is: 2.0.14 我的rubygem版本是: 2.0.14
After investigating what I could solve with the following steps: 在研究了我可以通过以下步骤解决的问题之后:
1.-Download the zip file from the following download and add it to the root of the project 1.从以下下载中下载zip文件,并将其添加到项目的根目录中
2.- If you don't have any RubyGems installed, there is still the pre-gem approach to getting software, doing it manually: 2.-如果您没有安装任何RubyGems,仍然有pre-gem方法来获取软件,并手动进行:
2.1-Download from above 2.2-Unpack into a directory and cd there 2.3-Install with: ruby setup.rb
(you may need admin/root privilege) 2.1-从上面下载2.2-解压到一个目录中,并在其中进行CD 2.3-安装:
ruby setup.rb
(您可能需要admin / root特权)
2.4- like sudo: gem update --system 3. run: 2.4-像sudo:gem update --system 3.运行:
bundle install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.