首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我如何安装我的gemfile,它给出错误?

我如何安装我的gemfile,它给出错误?
EN

Stack Overflow用户
提问于 2020-12-13 18:45:49
回答 1查看 38关注 0票数 0

这是我的gem文件:

代码语言:javascript
复制
source "https://rubygems.org"
gem 'fastlane'
gem 'cocoapods'
gem ‘CFPropertyList' gem ‘slather'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)

这是我收到的错误信息:

代码语言:javascript
复制
[!] There was an error parsing `Gemfile`: Undefined local variable or method `‘CFPropertyList' for Gemfile. Bundler cannot continue.

 #  from /Users/jordyhuijgens/Desktop/project folder/BwLidar/Gemfile:5
 #  -------------------------------------------
 #  gem 'cocoapods'
 >  gem ‘CFPropertyList' gem ‘slather'
 #  
 #  -------------------------------------------

我正在尝试为我的IOS应用程序安装Travis CI。

EN

回答 1

Stack Overflow用户

发布于 2021-06-25 12:43:12

输入行每个依赖项

代码语言:javascript
复制
source "https://rubygems.org"

gem 'fastlane'
gem 'cocoapods'
gem 'CFPropertyList' 
gem 'slather'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65274685

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档