Misc #9006

build and host binary rubies

Added by Michal Papis about 2 years ago. Updated about 1 year ago.

Assignee:Hiroshi SHIBATA


I wanted to ask ruby to take back the binary rubies, currently they are maintained as part of RVM.

The build is done using: https://github.com/rvm/rvm-binary

The binaries are hosted: https://rvm.io/binaries/

I'm also fine with slow migration where I continue to build the binaries and they are hosted at: http://ftp.ruby-lang.org/pub/ruby/


#1 Updated by Luis Lavena about 2 years ago

Hello Michal,

Platform binaries is a great thing, however I noticed that your username leaked into the generated (({rbconfig})) file:

$ gem env paths

I believe this is caused by the patching of (({ENV["GEM_HOME"]})) and ((|PATH|)) at the beginning of each script?



#2 Updated by Michal Papis about 2 years ago

oh that's my bad and easy thing to fix, thanks for heads up! (I guess the binaries can be build fresh if/when Ruby decides to take over the process)

#3 Updated by Hiroshi SHIBATA about 2 years ago

Hi, Michal

I'm ok for your suggestion. but I have two questions.

  1. How to upload/sync rvm package files?
  2. How to escalate package issue?

#4 Updated by Hiroshi SHIBATA about 2 years ago

  • Assignee set to Hiroshi SHIBATA

#5 Updated by Michal Papis about 2 years ago

This is what I wanted to discuss, right now the whole process is controlled in rvm, so the builds are done and uploaded(scp) by me and the issues are initially handled at rvm bug tracker, I forward them here when needed.

There are 3 steps I can distinguish for the process (each is optional):

(1) The build is still done by me and the binaries are copied from ((URL:https://rvm.io/binaries)) to ((URL:http://ftp.ruby-lang.org/pub/ruby/binaries))
(2) The builds are done by ruby team using rvm and uploaded directly to ftp.ruby-lang.org
(3) The build process is done without rvm and binaries are uploaded to ftp.ruby-lang.org

I can be in full assistance as long rvm is involved, not sure about my time if rvm is not used.

As to handling package issues - they will be most likely reported first to the tool used for installing the binary ruby and only re-posted to ruby team when needed. See (()) - (()) for example.

#6 Updated by Hal Brodigan almost 2 years ago

rvm-bin is definitely the most immediately viable solution. In the future, you should consider using something like Gitian for reproducable builds. http://gitian.org/

#7 Updated by Shannon Skipper about 1 year ago

It seems to be a good time to make the RVM-provided binaries official by hosting them at http://ftp.ruby-lang.org/pub/ruby/binaries since both ruby-install (chruby) and ruby-build (rbenv) are looking to support installing them. RVM has been using them for some time and people have been installing them directly. It would make it easier for folk to find them and for the installation tools to rally behind them if they were hosted officially.

Also available in: Atom PDF