开发者

Install Ruby 1.9.2 on Mac OSX 10.6 with 32bit version

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.


First, install Ruby Version Manager

  • https://rvm.io/rvm/install/

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

rvm install 1.9.2


Problems compiling native gems under Snow Leopard + RVM

and the gist

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜