Package Details: ruby-build 20210928-1

Git Clone URL: https://aur.archlinux.org/ruby-build.git (read-only, click to copy)
Package Base: ruby-build
Description: Compile and install Ruby
Upstream URL: https://github.com/rbenv/ruby-build
Licenses: MIT
Submitter: None
Maintainer: saghm
Last Packager: saghm
Votes: 93
Popularity: 0.92
First Submitted: 2011-12-26 13:37
Last Updated: 2021-10-11 15:49

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

just1602 commented on 2020-12-25 21:30

Here the diff you need to apply if you want the latest version and try ruby 3.0.0:

diff --git a/PKGBUILD b/PKGBUILD
index e763ee7..b5a68a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributer: Vincent Demeester <vincent@sbr.io>
 # Contributer: Alex Ogier <alex.ogier@gmail.com>
 pkgname=ruby-build
-pkgver=20201221
+pkgver=20201225
 pkgrel=1
 _file="${pkgname}-v${pkgver}.tar.gz"
 pkgdesc="Compile and install Ruby"
@@ -13,7 +13,7 @@ license=('MIT')
 depends=('bash')
 optdepends=('git: install ruby from git')
 source=($_file::$url/archive/v$pkgver.tar.gz)
-sha512sums=('6f31056ea50b7e2bc104d83d53c0a77fac89ccc5efd04fa2515b1b7b6962ba75cc472ee6452a51ca023f61cea0394ba2f4212d52df9bdd7cfdbcdfc38d6db274')
+sha512sums=('bdfe55bbe2384b82076c3433436d0f2527fcdfbfc6395cdaa3613cdb8c1f0cdd2717566e75f6c1d56f857ea54cbe303658e58be0dfc7bdc876c4c1825a9ecc76')

 build() {
   cd $srcdir

saghm commented on 2020-09-29 17:30

Sorry about the issue! I've pushed a new version that should now be working; let me know if it doesn't

whi-tw commented on 2020-09-29 11:18

Confirmed working with the same solution as @nyi:

 8  ⋮    │-_file="${pkgname}-v${pkgver}.tar.gz"
    ⋮ 8  │+_file="v${pkgver}.tar.gz"

Xanarion commented on 2020-09-29 08:20

I don't understand how this would unless you change the build() section to:

build() {
  cd $srcdir
  tar -x --strip-components 1 -zf "v${pkgver}.tar.gz"
}

If you don't make the change above - you get the error that states:

ruby-build-v20200926.tar.gz: Cannot open: No such file or directory

nyi commented on 2020-09-29 08:15

The downloaded file is now called v20200926.tar.gz instead of ruby-build-v20200926.tar.gz.

You can fix the build by changing the following line in PKGBUILD:

- _file="${pkgname}-v${pkgver}.tar.gz"
+ _file="v${pkgver}.tar.gz"

kfl62 commented on 2020-09-29 05:18

==> Starting build()... tar (child): ruby-build-v20200926.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now ==> ERROR: A failure occurred in build(). Aborting... error making: ruby-build

saghm commented on 2020-09-29 02:01

Hello! I've fixed the URL so that it's clickable. The _file variable is used when mksrcinfo is used to create the .SRCINFO for the package, so even though it's not used in the PKGBUILD, it's useful to leave in.

FabioLolix commented on 2020-08-19 17:40

Hello, the url need to be 'clickable' which isn't at the moment and _file is a pointless custom variable

saghm commented on 2020-04-02 16:34

Just pushed the update; apologies for the delay

warmwaffles commented on 2020-04-02 13:00

Can we get a bump to latest? https://github.com/rbenv/ruby-build/releases/tag/v20200401