already installed precise ruby version with rbenv
                  
                  
                  
                  
                  
                  
                  
                  
                  rbenv install 2.3.7
                  
                  
                  rbenv global 2.3.7
                  
                  
                  ruby -v
                  
                  
                  bundle config bin .bin --global
                  
                  
                  bundle config path vendor/bundle --global
                  
                  
                  export PATH=".bin:$PATH"
                  
                  
                  GEM_PATH=vendor/bundlebut when running bundle install it has a compile error in bcrypt-ruby, this one:
                  
                  
                  
                  
                  
                  https://paste.rs/Dz6.sh
                  
                  
                  
                  
                  
                  Does anybody have any idea on what to do? 
                  
                  
                  I'm a complete newbie on ruby and rails
                  
                  
                
Looks like your version of gcc is either too old or to new
I'm in Mac Os Catalina 10.15.6 gcc -v gives me: gcc -v Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.2) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
check what versions ruby wants in order to build
Обсуждают сегодня