1
종속성 설치
Before you begin developing, ensure you install Ruby version 2.7 or later in your development environment. Ruby is pre-installed on macOS and some Linux distributions, but you might need to update your version.
중요
Ruby 운전자 Windows 에서 공식적으로 지원되지 않습니다.
2
3
프로젝트 에 Ruby 운전자 추가
quickstart.rb
파일 열고 다음 코드를 추가합니다.
require 'bundler/inline' gemfile do source 'https://rubygems.org' gem 'mongo' end
이 코드는 번들러 종속성 관리 도구를 사용하여 Ruby 운전자 종속성으로 추가합니다.
이 단계를 완료하면 운전자 종속성이 설치된 새 프로젝트 디렉토리 생성됩니다.
참고
이 단계에서 문제가 실행 하면 MongoDB Community 포럼에서 도움을 요청하거나 Rate this page 이 페이지 오른쪽에 있는 탭 사용하여 피드백 제출 .