LoginSignup
3
3

More than 5 years have passed since last update.

GitHubで公開されているRubyMotionを使ってビルドする。

Posted at

RubyMotionは一部がGitHubで公開されているので、それらを使ってビルドしてみます。

まずはリポジトリをclone。

cd ~
git clone git://github.com/HipByte/RubyMotion.git

続いてコンパイラなどが含まれたディレクトリをリンクします。

ln -s /Library/RubyMotion/bin ~/RubyMotion
ln -s /Library/RubyMotion/data ~/RubyMotion

続いてビルドしたいアプリのRakefileの先頭を下記のように書き換えます。

Rakefile
$:.unshift(ENV['RUBYMOTION_LIB'] || '/Library/RubyMotion/lib')

あとはrakeする際、環境変数RUBYMOTION_LIBにGitHubから入手した先を指定すればOKです。

RUBYMOTION_LIB=~/RubyMotion/lib rake
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3