Removed OS specific section because It's out of scope for us.
This commit is contained in:
parent
3474a62033
commit
c35ebed895
@ -1,6 +1,6 @@
|
||||
# Distribution
|
||||
|
||||
This document outlines the expected way to distribute Ruby, with a specific focus on building Ruby packages for operating system distributions.
|
||||
This document outlines the expected way to distribute Ruby, with a specific focus on building Ruby packages.
|
||||
|
||||
## Building a Ruby Tarball
|
||||
|
||||
@ -22,20 +22,6 @@ The tarball for official releases is created by the release manager. The release
|
||||
|
||||
Downstream distributors should use the official release tarballs as part of their build process. This ensures that the tarball is created in a consistent way, and that the tarball is crytographically verified.
|
||||
|
||||
## Building a Ruby Package
|
||||
|
||||
Most distributions have a tool to build packages from a tarball. For example, Debian has `dpkg-buildpackage` and Fedora has `rpmbuild`. These tools will take the tarball and build a package for the distribution.
|
||||
|
||||
```bash
|
||||
$ pkgver=3.1.3
|
||||
$ curl https://cache.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver}.tar.xz --output ruby-${pkgver}.tar.xz
|
||||
$ tar xpvf ruby-${pkgver}.tar.xz
|
||||
$ cd ruby-${pkgver}
|
||||
$ ./configure
|
||||
$ make
|
||||
$ make install
|
||||
```
|
||||
|
||||
## Updating the Ruby Standard Library
|
||||
|
||||
The Ruby standard library is a collection of Ruby files that are included with Ruby. These files are used to provide the basic functionality of Ruby. The standard library is located in the `lib` directory and is distributed as part of the Ruby tarball.
|
||||
|
Loading…
x
Reference in New Issue
Block a user