1.安装ruby环境
rubyinstaller-1.9.2-p180.exe
2.直接执行gem install rhodes报错
ERROR: Error installing rhodes:
The 'rhodes' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
缺少DevKit工具
3.安装DevKit
安装说明
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
下载地址
https://github.com/oneclick/rubyinstaller/downloads/
4.安装DevKit再执行gem install rhodes
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed rhodes-3.0.0
1 gem installed
Installing ri documentation for rhodes-3.0.0...
Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known
Installing RDoc documentation for rhodes-3.0.0...
Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known
Rhodes已经成功
“Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known”这两个错误可以无视
这两个问题的解决方法可以参考http://groups.google.com/group/rhomobile/browse_thread/thread/dd4fbf2dc4574cd8
Rhodes的论坛地址是:
http://groups.google.com/group/rhomobile