Ask A Question

Notifications

You’re not receiving notifications from this thread.

Setup MacOS 14 Sonoma Discussion

Chris Oliver asked in General

Hi Chris, I am doing this on Pub Beta 2, and I am getting this error.

configure: error: something wrong with LDFLAGS="-L/Users/pitosalas/.asdf/installs/ruby/3.0.6/lib "

No amount of googling has helped me. Any idea? Thanks!

Reply

Any update?

Reply

For MacOS14, I had to install libyaml first (through brew) before asdf steps. Otherwise, asdf did not succeed due to error with psych extension.

Reply

i needed to do this on a brand new install on a brand new m1.

Reply

Postgres installation does no longer create a default user using brew install postgresql.

By default you only get the postgres user.

Connect to your DB server using psql postgres.

Reply

Tested on Apple M2 - macOS 14.2.1 (23C71)

Reply

Issue while installing Ruby via ASDF on Apple M2 - macOS 14.2.1 (23C71)

BUILD FAILED (macOS 14.2.1 on arm64 using ruby-build 20231225)

https://github.com/asdf-vm/asdf-ruby/issues/198
Solution https://github.com/asdf-vm/asdf-ruby/issues/198#issuecomment-1740938954

Reply

After following the linked solution, I still have the issue: BUILD FAILED (macOS 14.5 on arm64 using ruby-build 20240612)

Reply

Fixed! My path was local not homebrew

Reply

aside from libyaml (below), to get asdf to work, I also had to add the following two lines to the start of the .zshrc file:

autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && compinit

The complete file is as follows:

autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && compinit

. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"

Reply

is this step still needed? Mac OS Sonoma 14.6.1
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /  18:26:51
installer: Error - the package path specified was invalid: '/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg'.

xcode-select --install  18:33:40
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.