This project provides helper scripts to automatically download and precompile Ruby binaries for various platforms. Intitially, support will focus on Ruby compiled for Amazon Linux via Lambda functions. Support for other ecosystems/ architectures is planned.
The project's dependencies can be installed by running bundle install
.
Ruby version 2.6 is preferred, and Ruby 2.5 is supported.
The below code snippet demonstrates how to get recent Ruby versions published to the Ruby RSS feed, complete with download links and hash codes.
irb> require_relative "./releases_from_rss.rb"
irb> fetcher = PrecompiledRubyBuilder::ReleasesFromRSS.new("https://www.ruby-lang.org/en/feeds/news.rss")
irb> fetcher.releases
.
Contributions are welcome.
Ensure any testing or build dependencies are removed before committing your changes.
Running rubocop
before you commit will reveal linting problems before they make their way into the commit log,
and may save a rebase.
Update the README.md with details of changes to the available script commands.
You may merge the Pull Request in once you have the sign-off of at least one other developer,
or if you do not have permission to do that, you may request the second reviewer to merge it for you.
precompiled-ruby-builder is copyright © 2019 Josh McArthur https://joshmcarthur.com It is free software, and may be redistributed under the terms specified in the LICENSE file.