게시글
질문&답변
2023.09.20
x Installing Ruby Gems
해결하였습니다
- 0
- 3
- 468
질문&답변
2023.09.20
x Installing Ruby Gems
✖ Installing Ruby Gemserror Fetching gem metadata from https://rubygems.org/........Resolving dependencies...Fetching rexml 3.2.6Installing rexml 3.2.6Fetching CFPropertyList 3.0.6Installing CFPropertyList 3.0.6Fetching concurrent-ruby 1.2.2Installing concurrent-ruby 1.2.2Fetching i18n 1.14.1Installing i18n 1.14.1Fetching minitest 5.20.0Installing minitest 5.20.0Fetching tzinfo 2.0.6Installing tzinfo 2.0.6Fetching zeitwerk 2.6.11Installing zeitwerk 2.6.11Fetching activesupport 6.1.7.6Installing activesupport 6.1.7.6Fetching public_suffix 4.0.7Installing public_suffix 4.0.7Fetching addressable 2.8.5Installing addressable 2.8.5Fetching httpclient 2.8.3Installing httpclient 2.8.3Fetching json 2.6.3Installing json 2.6.3 with native extensionsGem::Ext::BuildError: ERROR: Failed to build gem native extension.current directory:/Users/jeongjaehong/AwesomeProject/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r./siteconf20230920-1397-jvwnmq.rb extconf.rbcreating Makefilecurrent directory:/Users/jeongjaehong/AwesomeProject/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generatormake "DESTDIR=" cleancurrent directory:/Users/jeongjaehong/AwesomeProject/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generatormake "DESTDIR="compiling generator.cIn file included from generator.c:1:In file included from ./../fbuffer/fbuffer.h:5:In file included from/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby.h:33:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10:fatal error: 'ruby/config.h' file not found#include "ruby/config.h" ^~~~~~~~~~~~~~~/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10:note: did not find header 'config.h' in framework 'ruby' (loaded from'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks')1 error generated.make: *** [generator.o] Error 1make failed, exit code 2Gem files will remain installed in/Users/jeongjaehong/AwesomeProject/vendor/bundle/ruby/2.6.0/gems/json-2.6.3 forinspection.Results logged to/Users/jeongjaehong/AwesomeProject/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/json-2.6.3/gem_make.outAn error occurred while installing json (2.6.3), and Bundler cannot continue.Make sure that gem install json -v '2.6.3' --source 'https://rubygems.org/'succeeds before bundling.In Gemfile: cocoapods was resolved to 1.12.1, which depends on cocoapods-core was resolved to 1.12.1, which depends on algoliasearch was resolved to 1.27.5, which depends on json✖ Installing Ruby Gemserror Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/environment-setup?os=macos&platform=android and follow the React Native CLI QuickStart guide for macOS and iOS.info Run CLI with --verbose flag for more details.죄송합니다. 에러메시지 입니다.
- 0
- 3
- 468