Skip to content

Missing packages inside pgpm gem #6

@amonaksis

Description

@amonaksis

Running the built image from the package gem I got the following error:

[root@0c39045e0864 bin]# pgpm build timescale
/usr/local/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/loader/config.rb:125:in `push_dir': the root directory /usr/local/share/gems/gems/pgpm-0.1.0/packages does not exist (Zeitwerk::Error)
	from /usr/local/share/gems/gems/pgpm-0.1.0/lib/pgpm.rb:43:in `block in <top (required)>'
	from /usr/local/share/gems/gems/pgpm-0.1.0/exe/pgpm:50:in `call'
	from /usr/local/share/gems/gems/dry-cli-1.1.0/lib/dry/cli.rb:116:in `perform_registry'
	from /usr/local/share/gems/gems/dry-cli-1.1.0/lib/dry/cli.rb:65:in `call'
	from /usr/local/share/gems/gems/pgpm-0.1.0/exe/pgpm:172:in `<top (required)>'
	from /usr/local/bin/pgpm:25:in `load'
	from /usr/local/bin/pgpm:25:in `<main>'
[root@0c39045e0864 bin]# pwd
/usr/local/bin
[root@0c39045e0864 bin]# cd ../share/gems/gems/pgpm-0.1.0/
[root@0c39045e0864 pgpm-0.1.0]# ls -alt
total 16
drwxr-xr-x  4 root root 4096 Feb  8 01:17 .
drwxr-xr-x 32 root root 4096 Feb  8 01:17 ..
drwxr-xr-x  2 root root 4096 Feb  8 01:17 exe
drwxr-xr-x  3 root root 4096 Feb  8 01:17 lib
[root@0c39045e0864 pgpm-0.1.0]# ls lib/
pgpm  pgpm.rb
[root@0c39045e0864 pgpm-0.1.0]# 

Note that the packages aren't being added to the pgpm included folders.
I'll try to send a fix for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions