magnus
Ruby bindings for Rust. Write Ruby extension gems in Rust, or call Ruby from Rust.
파일 탐색기
최종 버전 다운로드 (.zip)- config.toml
- test.yaml
- lib.rs
- Cargo.lock
- Cargo.toml
- extconf.rb
- temperature.rb
- temperature_test.rb
- Rakefile
- lib.rs
- Cargo.lock
- Cargo.toml
- extconf.rb
- error.rb
- ahriman.rb
- error_test.rb
- Rakefile
- lib.rs
- Cargo.lock
- Cargo.toml
- extconf.rb
- ahriman.rb
- error_test.rb
- Rakefile
- lib.rs
- Cargo.lock
- Cargo.toml
- extconf.rb
- rust_blank.rb
- bench.rb
- blank_test.rb
- Rakefile
- fibonacci.rs
- hello_world.rs
- inheritance.rs
- mut_point.rs
- point.rs
- init.rs
- lib.rs
- typed_data.rs
- util.rs
- Cargo.toml
- LICENSE
- flonum.rs
- api.rs
- block.rs
- class.rs
- debug.rs
- embed.rs
- encoding.rs
- enumerator.rs
- error.rs
- exception.rs
- fiber.rs
- float.rs
- gc.rs
- integer.rs
- into_value.rs
- io.rs
- lib.rs
- macros.rs
- method.rs
- module.rs
- mutex.rs
- numeric.rs
- object.rs
- process.rs
- r_array.rs
- r_bignum.rs
- r_complex.rs
- r_file.rs
- r_float.rs
- r_hash.rs
- r_match.rs
- r_object.rs
- r_rational.rs
- r_regexp.rs
- r_string.rs
- r_struct.rs
- r_typed_data.rs
- range.rs
- rb_sys.rs
- scan_args.rs
- symbol.rs
- thread.rs
- time.rs
- try_convert.rs
- typed_data.rs
- value.rs
- allocate_before_init.rs
- array_slice.rs
- block_call.rs
- bytes.rs
- call_proc.rs
- classname.rs
- clone.rs
- codepoints.rs
- debug_exception.rs
- debug_inspector.rs
- encoding_capable.rs
- enumerator.rs
- enumeratorize.rs
- float_convert_from_value.rs
- float_convert_to_value.rs
- fmt.rs
- freeze.rs
- hash.rs
- integer_convert_to_value.rs
- integer_traits.rs
- io.rs
- ivar.rs
- lazy_id.rs
- make_proc.rs
- proc_new.rs
- profile_frames.rs
- range.rs
- return_custom_error.rs
- return_iter.rs
- scan_args.rs
- str.rs
- string.rs
- struct.rs
- symbol.rs
- time.rs
- tracepoint.rs
- try_convert_array.rs
- tuple_to_array.rs
- typed_data.rs
- typed_data_obj.rs
- typed_data_subclass.rs
- typed_data_subclass_from_ruby.rs
- yield.rs
- .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
쉬움`lib/my_example_gem/my_example_gem.so` (or `.bundle` on macOS), which you'd
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle install이 에러 없이 끝나면 README에 안내된 실행 명령어(예: rails server)로 마저 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
