Skip to content

Missing packages inside pgpm gem #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amonaksis opened this issue Feb 14, 2025 · 0 comments
Open

Missing packages inside pgpm gem #6

amonaksis opened this issue Feb 14, 2025 · 0 comments

Comments

@amonaksis
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant