jgem is unusable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jruby (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On a fresh install of Ubuntu 18.04.1 and 18.10, jgem can't install anything:
root@9adf8e6f57
root@9adf8e6f57
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/share/
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
LoadError: load error: psych -- java.lang.
require at org/jruby/
require at /usr/share/
<main> at /usr/share/
require at org/jruby/
require at /usr/share/
(root) at /usr/share/
load_yaml at /usr/share/
load_file at /usr/share/
initialize at /usr/share/
do_configuration at /usr/share/
<main> at /usr/bin/jgem:21
The problem doesn't seem to depend on the package being installed. I tried trollop, bundler and a local gem and got the same error for all.
At least the following yaml-related packages were installed as dependencies:
ruby-psych/
libyaml-
libyaml-
root@9adf8e6f57
jruby:
Installed: 9.1.13.0-1
Candidate: 9.1.13.0-1
Version table:
*** 9.1.13.0-1 500
500 http://
100 /var/lib/