magnus

(★ 902)

Ruby bindings for Rust. Write Ruby extension gems in Rust, or call Ruby from Rust.

  • .gitignore
  • build.rs
  • Cargo.lock
  • Cargo.toml
  • CHANGELOG.md
  • fmt
  • Gemfile
  • Gemfile.lock
  • LICENSE
  • README.md
  • test
  • update_example_gems

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/matsadler/magnus

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd magnus

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Rust

보통 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
setting the `crate-type` attribute in your `Cargo.toml`.

이 명령어를 터미널에 그대로 입력해 실행하세요.

**`Cargo.toml`**

이 명령어를 터미널에 그대로 입력해 실행하세요.

crate, and can be enabled by adding the following to your `Cargo.toml`:

이 명령어를 터미널에 그대로 입력해 실행하세요.

Cargo not to strip code that it thinks is dead.

이 명령어를 터미널에 그대로 입력해 실행하세요.

In you the same directory as your `Cargo.toml` file, create a

이 명령어를 터미널에 그대로 입력해 실행하세요.

cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

3. Ruby

쉬움
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Ruby bundle 명령어를 쓰려면 Ruby가 필요합니다.
`lib/my_example_gem/my_example_gem.so` (or `.bundle` on macOS), which you'd

이 명령어를 터미널에 그대로 입력해 실행하세요.

bundle install이 에러 없이 끝나면 README에 안내된 실행 명령어(예: rails server)로 마저 실행해보세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation