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
bundle install error
composer install error
I can't install rails on my mac
[Note] Rails error list
Install gradle on mac
Catch Rails Routing Error
Install Java on Mac
[Rails error] unexpected tIDENTIFIER
Install Ruby / Rails on Mac M1 Big Sur 2021-01
rails heroku error log
rails error resolution summary
Error when bundle install
Install openjdk11 on mac
Install OpenJDK 8 on mac
Rails6 development environment construction [Mac]
rails error Library not loaded
Install Sidekiq pro on Rails
[Rails] How to install devise
Error in rails db: migrate
(For beginners) [Rails] Install Devise
Install Rails on macOS Catalina
[Rails] Rails version upgrade error memorandum
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
Error when npm install on Windows 7
Rails new fails to install mysql
[Ruby on Rails] yarn install --check-files
How to install JMeter for Mac
[Rails] Unexpected validation error in devise
[Rails] Display form error messages asynchronously
Japanese localization of error messages (rails)
[Rails] How to install ImageMagick (RMajick)
[Rails] How to install Font Awesome
[Rails 6] MySQL 2 cannot be bundle install
Error summary in bundle install. memorandum
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
[Rails error] Your user account isn't allowed to install to the system RubyGems.
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 g devise: install cannot be executed!
[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)