Closed xtronics closed 1 month ago
It sort of doesn't make sense that it tries to build native extensions, because that would be for the curses
gem. if apt-get install ruby-curses
already succeeded, then the curses gem should be installed already, and gem install diakonos
should not try to build curses. Perhaps the local shell is not finding the Debian-installed curses
gem.
Also: check what version of the curses gem apt-get
installed. The latest public version of Diakonos depends on curses gem 1.4.5, though the latest curses gem version is 1.4.6.
See also the curses
gem rdocs which describe the switches --use-system-libraries
and --with-ncurses-dir=
which may help here.
This is Debian 12 (current stable - bookworm) ruby-curses 1.4.4-1+b2
Tried loading the ruby-curses from testing - it would break a large number of other dependencies - I'm looking at simply copying from a different computer - an older version out of /usr/local/bin/diakonos - probably need /etc/diakonos as well?
(this didn't work.... )
Or is there a way to get gem to request an older version of diakonos?
You can specify a version with gem install [...]
, but, the better approach, I think, would be to use a Ruby manager like rvm
or rbenv
with your local user. Then, when you gem install diakonos
, it will pull in the dependency gem locally with the Ruby manager, and not affect the system-wide Debian dependency tree.
Would you be willing to try that?
I got it to work with
$ gem search diakonos --all $ gem install diakonos -v 0.9.10
I can wait for Debian to catch up.. trixie .. mid 2025?
Glad you got it working. Thanks for using Diakonos.
Did
This is on a new install of Debian 12 (bookworm)