Mac Rails Install Error

Rails could not be installed due to the following error! !! To see why this extension failed to compile, please check the mkmf.log which can be found here:

/Users/macintosh/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-17/2.7.0/nokogiri-1.10.10/mkmf.log

extconf failed, exit code 1

I solved it with the following settings. gem install nokogiri -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 --use-system-libraries

Recommended Posts

Mac Rails Install Error
bundle install error
composer install error
I can't install rails on my mac
Install gradle on mac
Catch Rails Routing Error
Install Java on Mac
Error in bundle install when running rails new
Error when bundle install
Install openjdk11 on mac
Install OpenJDK 8 on mac
[Ruby] I can't install puma on Mac [Rails, etc.]
Rails6 development environment construction [Mac]
rails error Library not loaded
(For beginners) [Rails] Install Devise
Install Rails on macOS Catalina
Error when using rails capybara
[Rails / MySQL] Mac environment construction
Install tomcat + eclipse on mac
[Rails] How to install simple_calendar
[Rails] How to install reCAPTCHA
How to install JDK8-10 (Mac)
[rails] error during devise installation
[Rails] What was the error message?
[Rails] Japanese localization of error messages
How to install JMeter for Mac
[Rails] Unexpected validation error in devise
[Rails] Display form error messages asynchronously
[Rails] How to install ImageMagick (RMajick)
[Rails] How to install Font Awesome
[Rails 6] MySQL 2 cannot be bundle install
I don't see an error in Rails bundle install ... the solution
[Rails] syntax error, unexpected tSTRING_END, expecting'''
[Rails] AWS deployment error encounter summary
Install Java development environment on Mac
How to install Swiper in Rails
mac sass install doesn't work or works
Install Webpacker and Yarn to run Rails
How to install Play Framework 2.6 for Mac
Ruby on Rails installation method [Mac edition]
Install Docker Desktop for Mac with Homebrew
How to install Eclipse (Photon) on Mac
[Rails] How to display error messages individually
Testing for Error Messages: Rails Tutorial Notes-Chapter 7
[Ruby / Rails] Mechanism for retrying Thread Error
Download and install Eclipse (Java) (Mac version)
[rails s error] md5.bundle and mysql installation error
Rails console Incorrect string value error handling
[Mac] Install Java in Visual Studio Code
Let's make an error screen with Rails
[Rails / Heroku] Error resolution procedure after push