Ruby, OCI8 & an M1 Mac

30-Mar-2023 848

If you’re unfortunate enough to need to connect to an Oracle database using Ruby, you will be familiar with the woes of having to install Oracle Instant Client to be able to use the Ruby OCI8 gem. I have always found this fiddly and it was made yet more fiddly when I started using an M1 Mac last year.Oracle have yet to release a version of Instant Client that is compatible with M1 arm64 chipsets which means if you need to use this gem, it needs a version of Ruby which has been compiled with Intel architecture.

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle