k-yamadaのブログ

プログラミングのメモ

Install MacRuby via RVM

Environment

OS: Mac OS X 10.8.2

Update RVM

It's impotant! https://github.com/wayneeseguin/rvm/issues/1062

$ rvm get head  
$ rvm reload

Install MacRuby via RVM

$ rvm install macruby
$ rvm list

rvm rubies

   macruby-0.12 [ x86_64 ]
=* ruby-1.9.3-p194 [ x86_64 ]

$ rvm use macruby-0.12

Make GUI application by Xcode

  1. Open Xcode
  2. File -> New -> Project -> MacRuby Application
  3. If build error "MacRuby/MacRuby.h file not found" occurs, steps to resolve the problem of the following sites:

http://stackoverflow.com/questions/11678226/xcode-4-4-macruby-macruby-h-not-found-os-x-10-8-mountain-lion

Release

Ref:おまいらもMacRubyでMacアプリ作ろう
http://d.hatena.ne.jp/seiunsky/20111225/1324740191