Skip to content

Conversation

nieldk
Copy link
Contributor

@nieldk nieldk commented Aug 25, 2025

gem version is now at 3.8.0, which has stringio version 3.1.2 as default system gem

nieldk added 2 commits August 25, 2025 09:45
update required version of stringio to 3.1.2
gem version is now at 3.8.0, which has stringio version 3.1.2 as default system gem
@adfoster-r7
Copy link
Contributor

We're pinned to 3.1.1 for now as that's the transitive version that comes with our Ruby version by default for our .ruby-version file: https://github.com/rapid7/metasploit-framework/blob/master/.ruby-version

So just some questions to understand more about the PR; Were you hitting errors, or just the stringio warnings? What version of Ruby are you running with? 👀

@nieldk
Copy link
Contributor Author

nieldk commented Aug 28, 2025

We're pinned to 3.1.1 for now as that's the transitive version that comes with our Ruby version by default for our .ruby-version file: https://github.com/rapid7/metasploit-framework/blob/master/.ruby-version

So just some questions to understand more about the PR; Were you hitting errors, or just the stringio warnings? What version of Ruby are you running with? 👀

Just failing stringio.
And yes, I am on latest release of ruby (I like bleeding edge and compile most myself)

@smcintyre-r7
Copy link
Contributor

Would you mind providing additional context around how exactly stringio is failing? We're wondering if it's a warning or you're running into an issue that's causing exceptions to be raised. In either case, having an example of the output that's generated would be helpful.

Furthermore, regarding the version of Ruby, it'd help us understand what people are using by sharing the version information. You can get this information by running ruby -v and sharing it with us. That'll help us understand if you're using a release candidate or a stable Ruby version.

~ ruby -v
ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux]

@nieldk
Copy link
Contributor Author

nieldk commented Oct 10, 2025

Would you mind providing additional context around how exactly stringio is failing? We're wondering if it's a warning or you're running into an issue that's causing exceptions to be raised. In either case, having an example of the output that's generated would be helpful.

Furthermore, regarding the version of Ruby, it'd help us understand what people are using by sharing the version information. You can get this information by running ruby -v and sharing it with us. That'll help us understand if you're using a release candidate or a stable Ruby version.

~ ruby -v
ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux]

ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-linux]

And yes, stringio is 3.1.2, I CAN install stringio 3.1.1 by sudo, but that is not correct way of handling this

Error:

[*] Bundler failed to load and returned this error:

   'You have already activated stringio 3.1.2, but your Gemfile requires stringio 3.1.1. Since stringio is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports stringio as a default gem.'

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 this pull request may close these issues.

3 participants