Install Ruby 1.9.2 on Mac OSX 10.6 with 32-bit

I started with developing Ruby applications, and I see that there are many Ruby Gems that do not work on 64-bit (which I installed right now). Their moderators suggested using a 32-bit build for Snow Leopard (10.6).

I went to the Ruby website but did not find a separate installer for Ruby 1.9.2 for 32bit 10.6

So how can I fix this? Should I remove the existing Ruby 1.9.2 and install the 32-bit version?

thank

UPDATE 1

Problem Here's what the moderators told me :

You may be a bit stuck in getting wxRuby working with the ruby ​​system introduced in 10.6. Apple made everything complicated by switching to 64-bit architecture. I use 10.6 and for the wxRuby Application I use my own 32-bit version of Ruby 1.9.1. This works just fine with gems that are downloadable from Rubyforge.

+1
source share
2 answers

Install Ruby Version Manager First

You can then install any number of interpreters for Ruby. to install 1.9.2

rvm install 1.9.2
+1
source

Source: https://habr.com/ru/post/1752200/


All Articles