did_you_mean

(★ 1,881)

The gem that has been saving people from typos since 2014

파일 탐색기

  • .gitignore
  • CHANGELOG.md
  • did_you_mean.gemspec
  • Gemfile
  • LICENSE.txt
  • Rakefile
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

bundle

설명 보기 ▼

Ruby 프로그래밍 언어의 종속성 관리자.
더 많은 정보: <https://bundler.io/man/bundle.1.html>.

bundle install

작업 디렉토리에 있는 `Gemfile`에 정의된 모든 gem을 설치:

bundle exec {{command}} {{arguments}}

현재 번들의 컨텍스트에서 명령을 실행:

bundle update

`Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성:

🔍

git checkout

설명 보기 ▼

Checkout a branch or paths to the working tree.

git checkout -b {{branch_name}}

Create and switch to a new branch:

git checkout -b {{branch_name}} {{reference}}

Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):

git checkout {{branch_name}}

Switch to an existing local branch:

🔍

git commit

설명 보기 ▼

Commit files to the repository.

git commit

Open an editor to write a message and commit staged files to the repository:

git commit {{[-m|--message]}} "{{message}}"

Commit staged files to the repository with the specified message:

git commit {{[-F|--file]}} {{path/to/commit_message_file}}

Commit staged files with a message read from a file:

🔍

git push

설명 보기 ▼

Push commits to a remote repository.

git push

Send local changes in the current branch to its default remote counterpart:

git push {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart:

git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:

🔍

irb

설명 보기 ▼

Ruby 대화형 쉘 .
`stdin`에서 입력된 Ruby 코드를 실행.
더 많은 정보: <https://ruby.github.io/irb/>.

irb

대화형 쉘 시작:

irb --simple-prompt

Start the interactive shell with the simple prompt:

irb -f

Start the interactive shell without reading the configuration file:

🔍

rails console

설명 보기 ▼

Interact with a Rails application.

rails console

Start the Rails console:

rails console {{[-s|--sandbox]}}

Start the Rails console and roll back all data modifications on exit:

rails console {{[-e|--environment]}} {{dev|test|production|...}}

Start the Rails console on a specified environment:

🔍

ruby

설명 보기 ▼

Ruby 프로그래밍 언어 인터프리터.
관련 항목: `gem`, `bundler`, `rake`, `irb`, `ri`.
더 많은 정보: <https://manned.org/ruby>.

ruby {{path/to/script.rb}}

Ruby 스크립트를 실행:

ruby -e "{{command}}"

명령줄에서 단일 Ruby 명령을 실행:

ruby -c {{path/to/script.rb}}

지정한 Ruby 스크립트의 문법 오류를 확인:

🔍

lib

설명 보기 ▼

Microsoft Library Manager(라이브러리 관리 도구)로, 오브젝트 파일로부터 정적 라이브러리를 생성하고 관리.
더 많은 정보: <https://learn.microsoft.com/cpp/build/reference/lib-reference>.

lib /OUT :{{path\to\library.lib}} {{path\to\file1.obj path\to\file2.obj ...}}

오브젝트 파일로부터 정적 라이브러리 생성:

lib /LIST {{path\to\library.lib}}

라이브러리의 내용 목록 표시:

lib {{path\to\library.lib}} {{path\to\file.obj}}

기존 라이브러리에 오브젝트 파일 추가:

// repository documentation