我有一个Ruby项目,我想向它添加Interface。
我添加了gem:gem 'ib',但是当我运行bundle exec rake ib时,我得到了Don't know how to build task 'ib'
有人知道我可能做错了什么吗?这是我的宝石档案:
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'发布于 2016-01-11 14:18:29
确保在Rakefile中使用require 'ib',或者使用Bundler,或者手动为每个gem。
如果使用Bundler,则可能需要删除begin/catch保护,因为它将使所有与导入相关的错误保持沉默。
https://stackoverflow.com/questions/34701918
复制相似问题