Open bil-bas opened 12 years ago
yay.
OK, thinking about implementing this again. I sort of disagree; I think it should download them into ~/.releasy, but it does seem more sensible to offer the user a "planning to download Ruby 1.9.2 (10MB) to ~/.releasy/windows_wrappers/whatever [yes/no]" rather than doing it without asking.
This also means the wrapper would be defined to be "1.8.7", "1.9.2" or "1.9.3" for windows and only "1.9.2" on OSX (since that is all that the Gosu wrapper supports, always downloading the latest version of the app wrapper).
Sounds good.
~/.releasy is likely to clutter up user backups. But I don't have a better suggestion.
There is precedent for downloading to the home directory (.pik and .rvm come to mind) so I suggest that people already know how to exclude files from backup :)
~/.releasy or /tmp/releasy are my two ideas
Download ruby.7z or gosu.app wrappers with another task. If it fails to find the files you specify in the config, then tell user to download them: "It looks like you forgot to get the wrappers, please run 'rake gimme' or download them manually".
Suggested by shawn42
What it shouldn't do is auto-download or download inside the gem or to a random location.