oneclick / rubyinstaller

RubyInstaller for Windows - Build recipes
http://rubyinstaller.org
BSD 3-Clause "New" or "Revised" License
1.19k stars 305 forks source link

Add a redirect for getting the newest version #192

Open rylarson opened 10 years ago

rylarson commented 10 years ago

RVM has a redirect: http://get.rvm.io that points to the latest RVM, it would be awesome if there was a redirect to the newest version of the rubyinstaller.

Something like:

http://latest.rubyinstaller.org

Maybe allow a url parameter for the bitness, with default value=32

http://latest.rubyinstaller.org?bitness=64

luislavena commented 10 years ago

Hello @rylarson and thanks for the suggestion, however I'm not sure if that will be wise.

To give you some background, since Ruby 2.0 release, it has been very problematic deal with gems and users.

Not to mention users installing incorrect versions of DevKit (or other MinGW compilers) and then complaining things don't work.

Ruby 1.9.3 and 2.0.0 are two different beast. Imagine today we suggest that latest is 1.9.3 and tomorrow, when things get better, it is 2.0.0, that will not be a compatible version.

If now, even that RubyInstaller documents and put in bold text what you should download, where you should get X, etc, imagine if we hide that behind a redirect.

I'm not sure it will be the wisest decision do that, but I could be wrong.

Leaving this open for further analysis, but I don't expect implement this in the short time.

Thank you.

rylarson commented 10 years ago

I am thinking it would just be for convenience. It wouldn't replace any of the current downloads, you could just add a blurb to the docs that the latest version is always available from http://latest.rubyinstaller.org

The use case for this would be to programatically grab the latest ruby installer to perform a silent install. Obviously it would only be useful in cases where the user didn't care about the version.