简体   繁体   English

Gem :: SafeYAML不可用,何时运行“捆绑安装”

[英]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.

相关问题 捆绑包安装后,宝石不可用 - Gem is not available after bundle install 成功运行捆绑包安装后的宝石不可用 - Gem after successfully running bundle install not available 运行 bundle install 时出现 mysql gem 问题 - Issues with mysql gem when i run bundle install 当我运行捆绑安装时,bcrypt gem出现错误 - When I run bundle install i'm getting error with bcrypt gem 使用 docker-compose 时添加/删除新 gem 后运行 bundle install - Run bundle install after adding/removing a new gem when using docker-compose "当我运行捆绑安装时,Nokogiri '无法构建 gem 本机扩展'" - Nokogiri 'Failed to build gem native extension' when I run bundle install 运行捆绑包安装时Mysql gem失败 - Mysql gem fail when running bundle install 即使在添加到gemfile并运行bundle install之后,gem也不可用 - gem not available, even after adding to gemfile and running bundle install 使用gem'pg'运行“捆绑安装”时出现此错误。 我该怎么办? - I get this error when I run “bundle install” with gem 'pg'. what should i do? 在这台机器上可用的宝石中找不到宝石'tzinfo-data(> = 0)x86-mingw32'。 运行bundle install以安装缺少的gem - could not find gem 'tzinfo-data (>=0) x86-mingw32' in the gems available on this machine. Run bundle install to install missing gems
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM