Skip to content

Commit

Permalink
fix: add fix for installing older versions of ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandoaleman committed Apr 5, 2024
1 parent 977edd5 commit e49e2ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mac
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ gem update --system
number_of_cores=$(sysctl -n hw.ncpu)
bundle config --global jobs $((number_of_cores - 1))

append_to_zshrc '# Fix for installing older versions of Ruby'
append_to_zshrc 'export DLDFLAGS="-Wl,-undefined,dynamic_lookup"' 1
append_to_zshrc 'export OPENSSL_CFLAGS="-Wno-error=implicit-function-declaration"' 1
append_to_zshrc 'export CFLAGS=-Wno-error="implicit-function-declaration"' 1

fancy_echo "Installing latest Node ..."
add_or_update_asdf_plugin "nodejs" "https://github.com/asdf-vm/asdf-nodejs.git"
install_asdf_language "nodejs"
Expand Down

0 comments on commit e49e2ed

Please sign in to comment.