purisubzi
purisubzi

Are there any Ruby on Rails developers here? I am at my wits end trying to get the mysql2 gem running for a small project on my M1 Macbook Air. Every solution on Google has failed for me.

|
Embed
mcg
mcg

@purisubzi Might be hard to debug here but we can try. What version of ruby and how was it installed? What is the error you are getting?

|
Embed
In reply to
purisubzi
purisubzi

@mcg Standard Ruby 2.7.2 install via Homebrew on macOS. If it is useful, I've just uploaded a text file here. It lists the error, plus a quick explainer. Thank you so much for the help!

|
Embed
mcg
mcg

@purisubzi This issue looks very similar to your build fail github.com/brianmari... have you tried the suggested fix in the comments?

|
Embed
purisubzi
purisubzi

@mcg Oh man! It failed the first two times, but worked like a miracle on the third try. Thank you so so much. 😀

|
Embed
mcg
mcg

@purisubzi Cool! Glad I could help.

|
Embed