Setup MacOS 14 Sonoma Discussion
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!
For MacOS14, I had to install libyaml
first (through brew) before asdf steps. Otherwise, asdf did not succeed due to error with psych
extension.
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
.
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
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"
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