Skip to content
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

cannot load such file -- /opt/postal/app/lib/postal/version #2954

Open
dani opened this issue May 3, 2024 · 3 comments
Open

cannot load such file -- /opt/postal/app/lib/postal/version #2954

dani opened this issue May 3, 2024 · 3 comments
Labels

Comments

@dani
Copy link

dani commented May 3, 2024

Describe the bug

When trying to run postal update (or postal version), it fails with this error

postal@a2e543e648e0:~/app$ postal version
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- /opt/postal/app/lib/postal/version (LoadError)
	from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from script/version.rb:4:in `<main>'
postal@a2e543e648e0:~/app$ 

This is reproducible on the official Docker image, as well as in my custom, alpine based image.

To Reproduce

  1. Run the docker image with eg docker run --rm -it ghcr.io/postalserver/postal:3.3.3 postal version
  2. See the error

Expected behaviour

Command should not fail (obviously :-) )

Environment details

  • Docker 26.1.1
  • Official Docker image
  • 3.3.3
@dani
Copy link
Author

dani commented May 3, 2024

The issue started with 3.3.2. It's working in 3.3.1

@bonest
Copy link

bonest commented May 5, 2024

Can confirm the same issue on running postal version.

<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require': cannot load such file -- /opt/postal/app/lib/postal/version (LoadError)
from internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in require' from script/version.rb:4:in

'`

@ugurtam
Copy link

ugurtam commented May 10, 2024

Yes same issue

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

No branches or pull requests

4 participants