Skip to content

Commit

Permalink
Important info for Rust centric applications
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpclark committed Jun 4, 2019
1 parent 559b61d commit 8a58d35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ fn it_works() {
fn main() {}
```

> NOTE: Currently in **Linux** you need to set `LD_LIBRARY_PATH` to point at the directory of your current Ruby library and in **Mac** you need to set `DYLD_LIBRARY_PATH` with that info. You can get the path information with the following command:
ruby -e "puts RbConfig::CONFIG['libdir']"

This should let you run `cargo test` and `cargo run`.

Running `cargo test` should have this test pass.

## Using Rust in Ruby
Expand Down

0 comments on commit 8a58d35

Please sign in to comment.