まずは本体をインストール。
gem install teacup
プロジェクトにbundler
を使ってインストールする。
まずは初期化。
bundle init
生成されたGemfile
にgem "teacup"
を追記。
Gemfile
source "https://rubygems.org"
gem "teacup"
インストール。
bundle install
Rakefile
を編集。
これで完了。
Rakefile
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
# 以下の2行を追加
require 'bundler'
Bundler.require