Daniel P. Clark

Results 126 comments of Daniel P. Clark

:thinking: hmmm, I wonder if it's related to the Rust C linker regression… https://github.com/rust-lang/cargo/issues/4044 ? Setting the environment variable `LD_LIBRARY_PATH` on Linux and `DYLD_LIBRARY_PATH` on Mac to the output of...

Thanks for sharing this info. I've never used `asdf`. I'm glad you found a workaround. I'm not sure how to go about solving that without first reproducing the issue which...

I just had an idea... Try: ```rust VM::require("enc/ascii"); ``` as well. According to the directory structures of the other requires used that exists: https://github.com/ruby/ruby/tree/master/enc

Yeah. The libruby path issue is more of a Rust application side of things and not a Ruby gems thing. Also the earlier requires `enc/encdb` and `enc/trans/transdb` both have `Init_…`...

I did find the relevant area for both the `enc/encdb` require and the encoding `ascii-8bit` you're interested in here: https://github.com/ruby/ruby/blob/master/template/encdb.h.tmpl It's a header template which is used to generate what's...

You can remove the `VM::require("enc/ascii");`. If it were allowed to be required the `ascii.c` file would have the following code in it. ```C void Init_ascii(void) { #include "for_example_some_C_header_file_here_for_ascii" } ```

> * [Where the error occurs in the main project](https://github.com/jkcclemens/paste/blob/feat/server-highlight/webserver/src/main.rs#L114) > * [Where the error occurs in the interop crate](https://gitlab.com/jkcclemens/paste_rouge/blob/master/src/lib.rs#L19) > > * Note that this error doesn't occur if...

> The first link is literally a link to `rouge::Rouge::new()`. Are you saying that Rust let's you use a crate without calling `use`?

> I need to `require 'rouge'`, and to do that, I need to `require 'rubygems'`. I just git cloned `rouge` and ran `bundle install`. The `Gemfile.lock` doesn't have a `rubygems`...

It's helpful info to me nonetheless. I hadn't considered possible dependency management situations for this project.