-
Notifications
You must be signed in to change notification settings - Fork 303
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
Add Ruby 2.4 #351
Add Ruby 2.4 #351
Conversation
Probably, it's too late for me to try and read to figure out, but I do know there are some differences, albeit small differences. https://www.quora.com/What-is-the-difference-between-UUID-and-GUID/answer/Eric-Bowersox?srid=uqts7 |
@Azolo no problem, but how do you usually generate these? |
The Inno Setup compiler can do this: Tools -> Generate GUID or press Shift-Ctrl-G |
Use |
What are the results of |
@daniel-rikowski thanks, but I don't have Inno Setup handy, more of a NSIS guy :) |
Oops, not so good, please see this gist: rake interpreter:ruby24:check |
No problem, I just mentioned that because Inno Setup is a requirement for RubyInstaller. But with guidgen.com you'll get your GUID with even less mouse clicks 😄 |
@MSP-Greg that suggestion looks good. |
@luislavena Just to be clear (it may not be needed), should a similar test be placed around the following code in dependencies.rb? |
@luislavena disregard code suggestion in prev post, what was I thinking... if !ENV["NOTK"] && RubyInstaller.const_get("Ruby#{package.number}")[:dependencies].include?(:tk) As to additional housekeeping, should the 'trunk option' be removed? Maybe in another PR with 2.4 and 2.5... |
Fixes #350
As it stands, Ruby 2.4.0 must be compiled as follows:
Is there a better way to specify that
ruby24
must always be compiled without tcl/tk support since that has been removed in Ruby 2.4?Other notes:
SecureRandom.uuid
. Is this an acceptable way to do it? I.e. I believe these are meaningless, random numbers for use by the installer, etc. so any true GUID would be OK.