Just pushed tmuxinator-3.3.7-3 to AUR with a patch for making it compatible with ruby-thor 1.5.0.
Search Criteria
Package Details: tmuxinator 3.3.7-3
Package Actions
| Git Clone URL: | https://aur.archlinux.org/tmuxinator.git (read-only, click to copy) |
|---|---|
| Package Base: | tmuxinator |
| Description: | Manage complex tmux sessions easily |
| Upstream URL: | https://github.com/aziz/tmuxinator |
| Licenses: | MIT |
| Submitter: | lucacesari |
| Maintainer: | fryfrog (flipee, kchr) |
| Last Packager: | kchr |
| Votes: | 78 |
| Popularity: | 0.029388 |
| First Submitted: | 2013-06-26 07:49 (UTC) |
| Last Updated: | 2026-02-09 18:47 (UTC) |
Dependencies (7)
- ruby
- ruby-erb
- ruby-erubi
- ruby-thor
- ruby-xdgAUR
- ruby-bundler (make)
- zsh-completions (zsh-completions-gitAUR) (optional) – for ZSH completion
Required by (1)
- tdrop-git (optional)
Sources (2)
kchr commented on 2026-02-09 18:51 (UTC) (edited on 2026-02-09 18:51 (UTC) by kchr)
logion commented on 2026-02-09 08:35 (UTC)
I encountered the same issue with tmuxinator still reference thor 1.4.0. Here's my patch to the PKGBUILD and tmuxinator:
❯ cat 0001-fix-thor-1.4.0-gem-no-longer-found.patch
From 4d08d2532262e2d98c0f0458779a4cdf1be221e1 Mon Sep 17 00:00:00 2001
From: Floris Van den Abeele
Date: Mon, 9 Feb 2026 09:31:01 +0100
Subject: [PATCH] fix: thor 1.4.0 gem no longer found
---
PKGBUILD | 8 ++++++--
tmuxinator.gemspec.patch | 11 +++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
create mode 100644 tmuxinator.gemspec.patch
diff --git a/PKGBUILD b/PKGBUILD
index 824ad38..98375da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=tmuxinator
pkgver=3.3.7
-pkgrel=2
+pkgrel=3
pkgdesc="Manage complex tmux sessions easily"
arch=(any)
url="https://github.com/aziz/tmuxinator"
@@ -21,11 +21,15 @@ optdepends=('zsh-completions: for ZSH completion')
options=('!emptydirs')
source=(
"${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+ "tmuxinator.gemspec.patch"
)
-sha256sums=('556756c17b8740af0d0bb3af58f3205ff25d00d515dbe6fc378653a28d14c4d8')
+sha256sums=('556756c17b8740af0d0bb3af58f3205ff25d00d515dbe6fc378653a28d14c4d8'
+ '8bc1de5f22d1117ce3bdf79fc52f0b4fc4cc2fc9acf2c0d97a8b8571b974da08')
prepare() {
cd ${pkgname}-${pkgver}
+
+ patch -p0 -N -i "${srcdir}/tmuxinator.gemspec.patch"
}
build() {
diff --git a/tmuxinator.gemspec.patch b/tmuxinator.gemspec.patch
new file mode 100644
index 0000000..80fd85d
--- /dev/null
+++ b/tmuxinator.gemspec.patch
@@ -0,0 +1,11 @@
+--- tmuxinator.gemspec.orig 2026-02-09 09:19:09.319476701 +0100
++++ tmuxinator.gemspec 2026-02-09 09:19:12.008472711 +0100
+@@ -41,7 +41,7 @@
+ s.required_ruby_version = ">= 2.7"
+
+ s.add_dependency "erubi", "~> 1.13"
+- s.add_dependency "thor", "~> 1.4.0"
++ s.add_dependency "thor", "~> 1.5.0"
+
+ s.add_development_dependency "amazing_print", "~> 1.8"
+ s.add_development_dependency "bundler", ">= 1.3"
--
2.53.0
fryfrog commented on 2026-02-08 16:13 (UTC)
@kchr: Done, fix er' up! :)
kchr commented on 2026-02-07 18:34 (UTC) (edited on 2026-02-08 15:40 (UTC) by kchr)
@fryfrog: It throws an exception on start as the upstream gemspec depends on thor version 1.4.0 or any minor version above it, but that package was bumped to 1.5.0 via this commit on 2026-01-20.
Bumping the version in the gemspec to 1.5.0 and rebuilding works fine, at least I haven't seen any issues so far. The PKGBUILD needs to include a patch for tmuxinator.gemspec to change the required version from 1.4.0 to 1.5.0 until upstream has fixed it on their end.
I would be happy to maintain the package, as I am a daily user of tmuxinator. :-)
The error message in question, in case anyone uses a search engine in attempt to find out what the problem is:
/usr/lib/ruby/3.4.0/rubygems/specification.rb:1421:in 'block in Gem::Specification#activate_dependencies': Could not find 'thor' (~> 1.4.0) among 61 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/user/.local/share/gem/ruby/3.4.0:/usr/lib/ruby/gems/3.4.0' at: /usr/lib/ruby/gems/3.4.0/specifications/tmuxinator-3.3.7.gemspec, execute `gem env` for more information
from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Array#each'
from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Gem::Specification#activate_dependencies'
from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1389:in 'Gem::Specification#activate'
from /usr/lib/ruby/3.4.0/rubygems.rb:290:in 'block in Gem.activate_bin_path'
from /usr/lib/ruby/3.4.0/rubygems.rb:289:in 'Thread::Mutex#synchronize'
from /usr/lib/ruby/3.4.0/rubygems.rb:289:in 'Gem.activate_bin_path'
from /usr/sbin/tmuxinator:25:in '<main>'
Also, as a side note - pkgrel should only be increased when changes are made to the AUR package that does not alter the version of the software that is packaged, for example when fixing a bug in the PKGBUILD or applying a patch to fix a broken build caused by some change to a dependency provided elsewhere in Arch. You were right to bump it, but it should have included a fix to make tmuxinator work with the new version of thor that is now provided by Arch Linux.
As mentioned in the wiki:
pkgrel
The release number. This is usually a positive integer number that allows to differentiate between consecutive builds of the same version of a package. As fixes and additional features are added to the PKGBUILD that influence the resulting package, the pkgrel should be incremented by 1. When a new version of the software is released, this value must be reset to 1. In exceptional cases other formats can be found in use, such as major.minor.
fryfrog commented on 2026-02-04 21:41 (UTC)
@kchr: That is correct, is anything else needed? I built it in a chroot w/ a build of ruby-xdg passed in and it compiles. I don't actually use tmuxinator, so if someone would like to be (co-)?maintainer, that'd be fine w/ me!
kchr commented on 2026-02-04 21:26 (UTC)
@fryfrog It looks like you only bumped pkgrel but didn't touch anything else?
Yonsy commented on 2026-01-23 16:35 (UTC)
ruby-thor was updated to 1.5 on Archlinux.
it breaks tmuxinator (that works with ruby-thor 1.4)
so we need to wait that tmuxinator change the gemspec or change this in the PKGBUILD
draptik commented on 2025-08-02 21:16 (UTC)
Thanks for the quick fix 3.3.5-2 ;-)
Dominiquini commented on 2025-08-02 17:29 (UTC) (edited on 2025-08-02 17:30 (UTC) by Dominiquini)
...
patching file lib/tmuxinator/config.rb
Hunk #1 FAILED at 29.
1 out of 1 hunk FAILED -- saving rejects to file lib/tmuxinator/config.rb.rej
patching file spec/lib/tmuxinator/config_spec.rb
Hunk #1 FAILED at 53.
Hunk #2 FAILED at 134.
2 out of 2 hunks FAILED -- saving rejects to file spec/lib/tmuxinator/config_spec.rb.rej
patching file tmuxinator.gemspec
Hunk #1 FAILED at 41.
1 out of 1 hunk FAILED -- saving rejects to file tmuxinator.gemspec.rej
==> ERROR: A failure occurred in prepare().
...
psi-jack commented on 2025-03-24 20:40 (UTC) (edited on 2025-03-24 20:41 (UTC) by psi-jack)
I'm having an issue that without ruby-erb installed, this happens:
<internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- erb (LoadError)
Did you mean? drb
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor/actions/file_manipulation.rb:1:in `<top (required)>'
from /usr/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor/actions.rb:5:in `require_relative'
from /usr/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor/actions.rb:5:in `<top (required)>'
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/lib/ruby/gems/3.3.0/gems/tmuxinator-3.3.4/lib/tmuxinator/util.rb:5:in `<module:Util>'
from /usr/lib/ruby/gems/3.3.0/gems/tmuxinator-3.3.4/lib/tmuxinator/util.rb:4:in `<module:Tmuxinator>'
from /usr/lib/ruby/gems/3.3.0/gems/tmuxinator-3.3.4/lib/tmuxinator/util.rb:3:in `<top (required)>'
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/lib/ruby/gems/3.3.0/gems/tmuxinator-3.3.4/lib/tmuxinator.rb:15:in `<top (required)>'
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/lib/ruby/gems/3.3.0/gems/tmuxinator-3.3.4/bin/tmuxinator:7:in `<top (required)>'
from /usr/bin/tmuxinator:25:in `load'
from /usr/bin/tmuxinator:25:in `<main>'
With ruby-erb installed, it works fine. I noticed that ruby-erb isn't part of the dependencies. I had something that pulled in ruby-erb and it got removed a an orphan.
Pinned Comments
FrederickZh commented on 2021-04-15 13:37 (UTC)
@lewiji You need to rebuild AUR ruby gems after major ruby upgrades:
paru -Qqo /usr/lib/ruby/gems/2.7.0 | paru -S -- -