在 Mac OSX 10.6 32 位版本上安装 Ruby 1.9.2

发布于 2024-09-08 12:31:46 字数 580 浏览 2 评论 0原文

我开始进行 Ruby 应用程序开发,发现有许多 Ruby Gems 无法在 64 位上运行(我现在已经安装了)。他们的版主建议 Snow Leopard(10.6) 使用 32 位版本。

我访问了 Ruby 的网站,但没有找到适用于 32 位 10.6 的 Ruby 1.9.2 的单独安装程序

那么,我该如何修复它呢?我是否必须删除现有的 Ruby 1.9.2 并安装 32 位版本?

谢谢

更新1

问题 这是版主告诉我的:

您可能会遇到一些困难 wxRuby 与系统 ruby​​ 一起工作 10.6 中提供。苹果已经做出了 迁移到 64 位后事情会变得困难 建筑学。我正在使用 10.6 和 我正在使用自己的 wxRuby 应用程序 Ruby 1.9.1 的 32 位版本。这有效 与宝石很好 可从 Rubyforge 下载。

I have started with Ruby app development and I see that there are many Ruby Gems which don't work on 64bit (which I have installed right now). Their moderators have suggested to use 32bit build for Snow Leopard(10.6).

I went to Ruby's website, but didn't find a separate installer for Ruby 1.9.2 for 32bit 10.6

So, how do I fix it? Will I have to remove my existing Ruby 1.9.2 and install the 32bit version?

Thanks

UPDATE 1

Problem
This is what the moderators told me:

You may be a bit stuck for getting
wxRuby working with the system ruby
provided in 10.6. Apple has made
things difficult by moving to 64-bit
architecture. I'm using 10.6 and for
wxRuby applications I'm using my own
32-bit build of Ruby 1.9.1. This works
just fine with the gems that are
downloadable from Rubyforge.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吹泡泡o 2024-09-15 12:31:47

首先,安装 Ruby Version Manager

然后,您可以安装任意数量的 Ruby 解释器。安装1.9.2

rvm install 1.9.2

First, install Ruby Version Manager

Then, you can install any number of interpreters for Ruby. to install 1.9.2

rvm install 1.9.2
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文