Backend/Ruby
[오류해결::Ruby] OpenSSL is not available. Install OpenSSL and rebuild Ruby or use non-HTTPS sources
[오류해결::Ruby] OpenSSL is not available. Install OpenSSL and rebuild Ruby or use non-HTTPS sources
2023.05.05문제 발생 상황 새로 나온 Ruby 3.2.2버전을 frum으로 설치하고 bundler를 설치하려는데 오류가 발생했다. gem install bundler를 입력하자 아래와 같이 오류가 나왔다. ➜ gem install bundler ERROR: While executing gem ... (Gem::Exception) OpenSSL is not available. Install OpenSSL and rebuild Ruby or use non-HTTPS sources (Gem::Exception) (이하 생략) 원인 분석 Ruby를 설치하는 과정에서 OpenSSL 관련 의존성이 누락된것이 원인이었다. 해결 방법 Ruby를 설치하는 과정에서 OpenSSL 의존성을 정확하게 참조할 수 있도록 해야한다. 만약 ..
[오류해결::Ruby] frum ruby 3.2.2 install error
[오류해결::Ruby] frum ruby 3.2.2 install error
2023.05.03문제 발생 상황 frum install 3.2.2 하는 경우 아래와 같은 문제가 발생했다. $ frum install 3.2.2 ==> Downloading https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.xz ==> Extracting ruby-3.2.2.tar.xz ==> Building Ruby 3.2.2 error: Can't build Ruby: make failed: . ./vm_opts.h parse.c:9130:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable] int yynerrs = 0; ^ 1 warning generated. libffi_versio..
[오류 해결::Ruby] error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING' - Ruby 3.0.x 설치 오류
[오류 해결::Ruby] error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING' - Ruby 3.0.x 설치 오류
2022.01.05Ruby 3.0.x 설치 오류 해결하기 기쁜맘으로 Ruby 3버전을 영접하려다 오류로 골머리좀 앓았습니다... RUBY_FUNCTION_NAME_STRING 너는 누구냐...! 환경 MacOS: Bigsur 11.4 XCode: 13.1 오류 발생 배경 asdf-vm 으로 ruby 3.0.x버전을 install 하려는데 문제가 발생했습니다. install을 실행하면 아래처럼 오류가 발생합니다. $ asdf install ruby 3.0.0 Downloading ruby-3.0.0.tar.gz... -> https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.0.tar.gz Installing ruby-3.0.0... ruby-build: using readline fro..