Package Details: ruby-dotenv 3.1.4-1

Git Clone URL: https://aur.archlinux.org/ruby-dotenv.git (read-only, click to copy)
Package Base: ruby-dotenv
Description: Loads environment variables from .env
Upstream URL: https://github.com/bkeepers/dotenv
Licenses: MIT
Submitter: whynothugo
Maintainer: carsme
Last Packager: carsme
Votes: 7
Popularity: 0.85
First Submitted: 2015-08-24 16:49 (UTC)
Last Updated: 2024-09-22 12:09 (UTC)

Latest Comments

carsme commented on 2023-05-14 13:28 (UTC)

@a.kudelin Could you apply the suggested fix to the conflict with community/python-dotenv? Or add me as co-maintainer and I'll do it. Much appreciated, thanks.

Levitating commented on 2021-06-27 13:58 (UTC)

@bug-reaper I hopw you understand that the fix posted by @frebib isn't actually present in this package.

You'll have to clone this repository and then modify the PKGBUILD yourself.

bug-reaper commented on 2021-06-15 06:06 (UTC)

error: failed to commit transaction (conflicting files)
ruby-dotenv: /usr/bin/dotenv exists in filesystem (owned by python-dotenv)

Even with latest simple fix. Seems like python and ruby thrashing.

frebib commented on 2021-01-25 14:52 (UTC)

A simple "fix":

diff --git a/PKGBUILD b/PKGBUILD
index dea9a5d..01bfa18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,5 +20,6 @@ package() {
   local _gemdir="$(ruby -e'puts Gem.default_dir')"
   gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
   rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  mv "$pkgdir/usr/bin/dotenv" "$pkgdir/usr/bin/ruby-dotenv"
   install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

stevenroose commented on 2020-10-26 09:34 (UTC)

I have the same issue with python-dotenv.

farwayer commented on 2020-06-17 16:36 (UTC)

I will think what we can do in this situation

kumpelblase2 commented on 2020-06-16 18:42 (UTC)

Recently, python-dotenv has been introduced into the community repo (because it's required for docker-compose). Unfortunately, it also uses the binary name dotenv.

I assume there's sadly nothing that can be done to avoid this, is that correct?

markzz commented on 2017-04-12 13:57 (UTC)

ruby-rake is included in the depends on the .SRCINFO, but not in the PKGBUILD. Perhaps run a quick mksrcinfo?

whynothugo commented on 2015-08-24 23:02 (UTC)

Manually maintaining a pile of ruby-* packages is a PITA. I recently discovered an Arch repo that contains binary packages for these, automatically generated, and maintained by one of the Arch devs (so we might as well trust it). I recommend that you prefer it instead of using the AUR: https://github.com/anatol/quarry