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

uninitialized constant Consist::Commands::Upload::StringIO #11

Open
M2ko opened this issue Nov 27, 2024 · 0 comments
Open

uninitialized constant Consist::Commands::Upload::StringIO #11

M2ko opened this issue Nov 27, 2024 · 0 comments

Comments

@M2ko
Copy link

M2ko commented Nov 27, 2024

Hi!

Awesome tool, absolutely love the simplicity and I have been looking for a similar project for a while.

There seems to be Ruby version related bug where ruby does not load StringIO by default after ruby version 2.7.0 (found a similar issue on unrelated codebase ohler55/agoo#80)

When running this tool in a Alpine Docker container with ruby version 3.3.0 I get the following error:

[SSHKit::Runner::ExecuteError] Exception while executing as [email protected]: uninitialized constant Consist::Commands::Upload::StringIO

This is solved by adding a

require "stringio"

into the lib/consist/commands/upload.rb file.

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

No branches or pull requests

1 participant