1
4
使用
由KCH添加:成功生成后的输出: $ file ruby ruby: Mach-O universal binary with 2 architectures ruby (for architecture x86_64): Mach-O 64-bit executable x86_64 ruby (for architecture i386): Mach-O executable i386 $ arch -i386 ./ruby -v ruby 1.9.2dev (2010-06-29 revision 28468) [universal.i386-darwin10.4.0] $ arch -x86_64 ./ruby -v ruby 1.9.2dev (2010-06-29 revision 28468) [universal.x86_64-darwin10.4.0] $ ./ruby -v ruby 1.9.2dev (2010-06-29 revision 28468) [universal.x86_64-darwin10.4.0] |
2
1
至于RVM, it says you can't have fat binaries 但事实并非如此 this commit 其中包括 my patch .
使用您可以安装的最新RVM
$ rvm install ruby-1.9.2-head -C --with-arch=x86_64,i386 证明它是有效的:$ rvm use 1.9.2-head info: Using ruby 1.9.2 head $ file `which ruby` | perl -pe 's|^.*/||' ruby: Mach-O universal binary with 2 architectures ruby (for architecture x86_64): Mach-O 64-bit executable x86_64 ruby (for architecture i386): Mach-O executable i386 |
Mr.H. · 如何在外部文件中定义函数? 6 年前 |
Jon Goe · 实现SeekArc时生成同步失败 6 年前 |
Farzad J · VSTS中PowerShell脚本的打包管理器 6 年前 |
vladfau · Maven没有在多模型项目中构建兄弟依赖关系 6 年前 |