Trying to use #ruby & #rails on macos in 2024
Installing ruby 3.x is royal pain with openssl conflicts https://github.com/rvm/rvm/issues/5365
Trying to use #ruby & #rails on macos in 2024
Installing ruby 3.x is royal pain with openssl conflicts https://github.com/rvm/rvm/issues/5365
@rexfeng I have no problems with Ruby dependencies other than if homebrew is involved and updating random stuff, and messing with env and pointing to libraries and stuff outside of homebrew will reference to but then homebrew will remove that referenced stuff again with the next update and so on.
Homebrew is nice for tools but it's terrible for development dependencies.
Especially since you can't point different project dependencies to different versions.
@alexanderadam Thanks!
I was able to get my rails app working today by uninstalling & reinstalling `pg` 12
Yesterday, it took a non-trivial amount to install ruby 3.X with openssl 3.0 on macos
I want ruby & rails to succeed, but the DX (as someone who has used rails on & off) can be severely punishing (just to install ruby)
@rexfeng yes that's what I mean. Postgres is the classic example too.
Did you install postgres via homebrew or via development dependencies like asdf ( https://github.com/smashedtoatoms/asdf-postgres?tab=readme-ov-file#asdf-postgres- ), mise or rtx?
Because every time brew decides to update that stuff it will break everything outside again. 🙄
Brew is such a mess for dependencies. 🫣
@rexfeng it's not only related to Ruby thought, but basically everything that will rely on brew installed libraries by the way.
Brew is just generally a bad idea for these things due to its independence from your project dependencies.