Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic rust install? #89

Closed
NullVoxPopuli opened this issue Nov 1, 2016 · 6 comments
Closed

Automatic rust install? #89

NullVoxPopuli opened this issue Nov 1, 2016 · 6 comments

Comments

@NullVoxPopuli
Copy link

Not sure if you want to do this,
This is kinda controversial, but I've done this: https://github.com/NullVoxPopuli/case_transform-rust-extensions/blob/master/ext/case_transform/build.sh

Which basically automatically downloads and sets up rust and cargo.

It's tough, cause C tools already come with every dev environment, so it's hard to achieve that same usability upon install.

@malept
Copy link
Contributor

malept commented Nov 6, 2016

I would argue that #88 accomplishes this in a different way, by installing pre-compiled Rust extensions.

@NullVoxPopuli
Copy link
Author

huh -- maybe I just haven't fully checkout out thermite's options.

@malept
Copy link
Contributor

malept commented Nov 8, 2016

Let me know if there's places in Thermite's documentation that needs improvement.

@NullVoxPopuli
Copy link
Author

@malept I posted an issue on the thermite repo regarding this issue

@danielpclark
Copy link
Owner

@NullVoxPopuli I do like the idea. But I think the Rust install should be a gem built just for that purpose. A wrapper install script gem. Then I could have this project depend on that if it that ends up being a better solution.

Currently I've been working hard on trying to test gem bundling so I can verify when I get forced rust extension compiling to work. A couple other issues are open for people not getting the extension to compile when Bundler does a gem install. I can neither prove or deny the issue in a test so it's my primary focus at the moment.

@danielpclark
Copy link
Owner

Unless Rust is entirely encapsulated with a gem, I don't see this as a viable solution. For now I'm going the Thermite way and may revisit such ideas like this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants