-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Documentation] Simple/Simplistic setup? #3
Comments
I need to update a few README files...
Are you looking for a script to install it? A Ruby script or PowerShell? It's zipped as a 7z file, so one would need 7-Zip. Also, I'd probably just link to the MSYS2 install page for that. One reason I haven't developed the README is that this is a master build. For instance, if you try to install pre-compiled gems, almost none of them allow installation when using a master build. Also, ruby-loco was started a long time ago because ruby/ruby was not fully testing on MinGW. Various repos/gems also started using it in their CI testing. |
Okay, I forgot one main question. Do you want to use ruby-loco to build Ruby locally or do you want to download the builds it creates and saves via GitHub Actions? The builds are done three times a day and saved in the single release here: https://github.com/MSP-Greg/ruby-loco/releases/tag/ruby-master |
I have a question - I want a ruby debug build that I can step through with vscode on windows rubyinstaller2 . Can I use this to build ruby to debug and develop ruby with? |
A qualified yes. I haven't used it to build locally for quite a while. When I first started it, it was only for mingw builds, but now there's code in it for mswin builds. Which are you wanting to build? Can you build on GitHub Actions and download the release asset, or do you prefer to build locally? |
I have some win32ole code that keeps segfaulting. I want to be able to
step through the c code. Also, the python - comtypes allows you to make a
comserver class. I want to add this capability to ruby win32ole lib.
…On Thu, Jun 18, 2020 at 1:40 PM MSP-Greg ***@***.***> wrote:
Can I use this to build ruby to debug and develop ruby with?
A qualified yes. I haven't used it to build locally for quite a while.
When I first started it, it was only for mingw builds, but now there's code
in it for mswin builds.
Which are you wanting to build? Can you build on GitHub Actions and
download the release asset, or do you prefer to build locally?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABQRIV44ZBK42ILRS3MLTRXJURBANCNFSM4KT2Z7EA>
.
|
Hello @dsisnero |
Sorry about that. A while ago, I added the mswin build, and it shared very little with the MSY2 build code. When I recently revised the mswin build code, I renamed the main build scripts... Re the strip code, I haven't built without the 'strip' code for a very long time. Let me have a look. I'll either remove it, or allow disabling it with an ENV setting.
Haven't looked at 'cleaning' code for a while, have you? That could also have an ENV conditional added? JFYI, I do use ruby-loco for local building, and I'm happy to add features. Additionally, it supplies 'well tested' builds for use with GitHub Actions, which I feel is also important... Thanks, Greg |
No worries, thanks for the useful code! In my fork, I removed the strip code and added the symbol flags and debugging worked! I'm not that good with powershell but i agree adding conditionals would be a great idea.
I don't know how cleaning the code works. I think maybe configure doesnt need to run each time. I had the case that I needed to reset the whole git repo for ruby. That is in the official documentation too. (There is a gir command for this) Cool project in any case. Would be great to put in the offical ruby documentation to let more people know, I think. |
Hey Greg,
Do you think you could add a brief installation instruction to the main README at https://github.com/MSP-Greg/ruby-loco/blob/master/README.md ?
Nothing complicated, just really a simple/simplistic work flow, one that may work for you when you are on a fresh windows machine (no matter which windows variant, though I guess it does matter what windows variant; I am more interested in like the most simple installation scenario, ideally something that could be copy/pasted :D). Thanks!
The text was updated successfully, but these errors were encountered: