-
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
Remove the project wide "default" Devkit setting #256
Comments
Point 1:
Just to clarify:
Presumably, the allowed Ruby versions are those available via RubyInstaller's Rake tasks (without users overriding them through Is all this correct? :) BTW (as point 2), in the Rake commands Obviously, Point 3: On that last topic, as you know, half the time, because it's easier and it works (generally, environment variables aren't case sensitive on Windows), people use lower case when entering environment variables such as your
Point 4:
A better name for Point 5:
Currently, the output of
Going further than your suggestion, building a DevKit (or an installer) should also error out IMO without the user supplying a Point 6: And when are Point 7: The default Rake task IMO should be reserved to invoke (future) tests for RubyInstaller (combined with user overrides). By essentially-universal convention (as you know), :test is the default task (where tests exist) because it eases the test cycle. |
Yes
No, they should all more or less succeed but the DevKit for each version is coordinated with the As for the changes you suggest in your post, they aren't bad ideas or changes but you have to consider that people have used this software and have scripts around it. The external API may not be pretty but it's what we've got at the moment and it works well enough. So while good reasons I don't find them good enough. As for the tests, there are certain parts of RubyInstaller that can be refactored to be tested but the Rake parts would be near impossible to test properly. It would be like writing tests for a I don't want to make any breaking changes on how it works in the expected usage now, but I do want to make it harder to make the mistakes that you mentioned and possibly add wrappers around them for convenience. |
With the release of
Ruby 2.0.0
we started using a new compile environment. With the new environment it no longer means there is a universal default.Instead a
default-devkit
should be included in each interpreter configuration and be used whenDKVER
isn't supplied.Likewise building a Devkit should error out without a supplied "DKVER".
@jonforums Can you think of any problems with the purposed behavior?
The text was updated successfully, but these errors were encountered: