Package Details: ruby-dotenv 2.7.6-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://rubygems.org/gems/dotenv
Licenses: MIT
Submitter: whynothugo
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 5
Popularity: 0.76
First Submitted: 2015-08-24 16:49
Last Updated: 2021-04-26 12:11

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

bug-reaper commented on 2021-06-15 06:06

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

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

I have the same issue with python-dotenv.

farwayer commented on 2020-06-17 16:36

I will think what we can do in this situation

kumpelblase2 commented on 2020-06-16 18:42

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

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

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