stevenhaddox / rvm_fw

RVM::FW - Exposing hidden Rubies for firewalled RVMs
http://rvm-fw.herokuapp.com
MIT License
31 stars 9 forks source link

Implement the md5 view #30

Open mindscratch opened 10 years ago

mindscratch commented 10 years ago

The app has a route for getting a file containing the md5 file used by RVM and it should be implemented.

Without it sometimes (maybe most or all of the time) RVM will not trust the download unless you include the "--verify-downloads 1" option, such as rvm install ruby-2.1.1 --verify-downloads 1.

stevenhaddox commented 10 years ago

@mindscratch I've been hitting these issues too. Did you have a PR you can send for this? I'm not familiar with how to add MD5 support into this off-hand (though I've had that goal all along, hence constantly updating MD5 hashes in the config/rubies.yml.example).

Thanks!

stevenhaddox commented 9 years ago

This view should be downloaded as part of the installation script and written to <rvm_root>/user/md5

The format should be like:

https://rvm_io.global.ssl.fastly.net/binaries/centos/6/x86_64/ruby-2.1.5.tar.bz2=accd60a83aa2b116fab0dc8585cee0b0
http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2=06973777736d8e6bdad8dcaa469a9da3
http://production.cf.rubygems.org/rubygems/rubygems-2.4.6.tgz=5909df4829e5350ca431644322ea9e89