首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rubymotion,添加界面生成器:从gem运行rake任务会给出“不知道如何构建任务'ib'”

Rubymotion,添加界面生成器:从gem运行rake任务会给出“不知道如何构建任务'ib'”
EN

Stack Overflow用户
提问于 2016-01-10 04:01:09
回答 1查看 42关注 0票数 0

我有一个Ruby项目,我想向它添加Interface。

我添加了gem:gem 'ib',但是当我运行bundle exec rake ib时,我得到了Don't know how to build task 'ib'

有人知道我可能做错了什么吗?这是我的宝石档案:

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

gem "rake"
gem "ProMotion", '~> 2.0'
gem "ProMotion-push", git: 'git@github.com:BananaNeil/ProMotion-push.git', :branch => 'actionable-push-notifications'
gem "cocoapods"
gem "motion-cocoapods"
gem 'xcodeproj'


gem "bubble-wrap-http", git: 'git@github.com:BananaNeil/BubbleWrap-HTTP.git', branch: 'allow_invalid_ssl_certs'
gem "bubble-wrap"
gem "sugarcube" # monkeypatch all the things
gem "motion-yaml"

gem "motion-stump"
gem 'houston'

# Enter debugger with simple syntax
gem 'dbt' #-----> break

# Add pretty print
gem 'motion-pp'

# Handle address book for us
gem 'motion-addressbook'


gem 'ib'
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-01-11 14:18:29

确保在Rakefile中使用require 'ib',或者使用Bundler,或者手动为每个gem。

如果使用Bundler,则可能需要删除begin/catch保护,因为它将使所有与导入相关的错误保持沉默。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34701918

复制
相关文章

相似问题

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