Package Details: ruby-build 20201005-2

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: 87
Popularity: 0.40
First Submitted: 2011-12-26 13:37
Last Updated: 2020-10-06 18:15

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

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

saghm commented on 2016-07-22 18:17

Okay, thanks! Sorry for bothering you about that