Closed hktalent closed 1 year ago
Getting the same error on my mac. What was the solution?
@TheSenPie $ cat build.sh
gem install --user-install bundler
brew install ruby
brew link ruby
export PATH="/usr/local/opt/ruby/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/ruby/lib"
export CPPFLAGS="-I/usr/local/opt/ruby/include"
export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig"
bundle install
@bcoles @urbanadventurer No errors, but the output whatweb executable is not compiled
uname -a Darwin 123.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin21]
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc
export PATH="$PATH:/Users/51pwn/.rbenv/versions/2.6.5/bin/"
export LDFLAGS="-L/Users/51pwn/.rbenv/versions/2.6.5/lib"
export CPPFLAGS="-I/Users/51pwn/.rbenv/versions/2.6.5/include"
rbenv install 2.6.5
rbenv global 2.6.5
gem install bundler
bundle update
bundle install