Package Details: rbenv 1.3.0-1

Git Clone URL: https://aur.archlinux.org/rbenv.git (read-only, click to copy)
Package Base: rbenv
Description: Simple Ruby version manager
Upstream URL: https://github.com/rbenv/rbenv
Keywords: rbenv ruby
Licenses: MIT
Conflicts: rbenv-git
Submitter: mirlord
Maintainer: sudopluto (saghm)
Last Packager: sudopluto
Votes: 138
Popularity: 1.45
First Submitted: 2011-08-29 11:57 (UTC)
Last Updated: 2024-11-17 21:24 (UTC)

Latest Comments

1 2 3 4 Next › Last »

saghm commented on 2024-11-20 18:39 (UTC)

Taking a closer look at rbenv-git, it seems like they already mark it as providing rbenv, which means that it does actually work as an alternative to rbenv for dependencies (e.g. https://aur.archlinux.org/packages/rbenv-latest lists it as a valid alternative dependency to rbenv), The wiki page I linked to below also mentions that adding the name of the package directly to the provides array is done automatically, so I don't think we need to change anything here either.

saghm commented on 2024-11-20 18:35 (UTC)

It looks like the package just got marked as "out of date" with the comment that this shouldn't conflict with rbenv-git. I don't see an obvious way to avoid this conflict given that both packages install /usr/bin/rbenv, and I don't think it makes sense for either package not to do that. It might make sense to mark this as "providing" rbenv (per https://wiki.archlinux.org/title/PKGBUILD#provides) so that other packages can depend on either this or the rbenv-git package without issue, but the conflict would still exist when trying to install both at once.

Given that this isn't actually an issue with the package being out of date, I've manually unflagged it.

sudopluto commented on 2024-11-17 21:27 (UTC)

@saghm yup, i should have it updated to latest version, and added you as co-maintainer. feel free to take over ownership in the future if you want

saghm commented on 2024-11-12 01:17 (UTC)

Looks like they marked it as orphaned and you picked it up before I had a chance to log on. Happy to let you handle it if it won't be a burden for you; I just figured I'd offer in case you didn't want the hassle!

sudopluto commented on 2024-10-28 00:58 (UTC)

@saghm sent an orphan request to mailing list, happy to let you maintain or co-maintain with you : )

saghm commented on 2024-10-23 03:52 (UTC)

I took over ruby-build AUR package several years ago after the previous maintainer didn't want to anymore; I'd be happy to handle rbenv as well given that they're often used together

sudopluto commented on 2024-10-19 18:33 (UTC)

sent email to maintainer, will submit orphan request if no response

sudopluto commented on 2024-09-19 00:03 (UTC)

here is the new release https://github.com/rbenv/rbenv/releases/tag/v1.3.0

Badderman commented on 2021-02-13 11:28 (UTC) (edited on 2021-02-13 12:49 (UTC) by Badderman)

Run "rbenv rehash" hooks automatically after "gem install/uninstall":

diff --git a/PKGBUILD b/PKGBUILD
index 1868d44..bed28d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,11 +31,14 @@ package() {
   mkdir -p $pkgdir/usr/share/licenses/$pkgname
   mkdir -p $pkgdir/usr/lib/rbenv/completions
   mkdir -p $pkgdir/usr/lib/rbenv/libexec
+  mkdir -p $pkgdir/usr/lib/rbenv/hooks

   install -m 644 ./README.md $pkgdir/usr/share/doc/$pkgname
   install -m 644 ./LICENSE $pkgdir/usr/share/licenses/$pkgname
   install -m 644 ./completions/* $pkgdir/usr/lib/rbenv/completions/
   install -m 755 ./libexec/* $pkgdir/usr/lib/rbenv/libexec/
+  cp -r ./rbenv.d/* $pkgdir/usr/lib/rbenv/hooks/
+  chmod -R 755 $pkgdir/usr/lib/rbenv/hooks/

   ln -s /usr/lib/rbenv/libexec/rbenv $pkgdir/usr/bin/
 }