Skip to content

uninitialized constant Rendezvous::StringIO #1264

@phortx

Description

@phortx
-----> Launching...
 !     Release command declared: this new release will not be available until the command succeeds.
       Released v390
       [...] deployed to Heroku
/root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/rendezvous-0.1.3/lib/rendezvous.rb:44:in `start': uninitialized constant Rendezvous::StringIO (NameError)
      if input.is_a?(StringIO)
                     ^^^^^^^^
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/rendezvous-0.1.3/lib/rendezvous.rb:28:in `start'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-heroku-1.10.16/lib/dpl/provider/heroku/generic.rb:86:in `run'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/provider.rb:205:in `block (2 levels) in deploy'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/cli.rb:41:in `fold'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/provider.rb:205:in `block in deploy'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/provider.rb:201:in `each'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/provider.rb:201:in `deploy'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/cli.rb:32:in `run'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/lib/dpl/cli.rb:7:in `run'
	from /root/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/dpl-1.10.16/bin/dpl:5:in `<top (required)>'
	from /root/.asdf/installs/ruby/3.1.2/bin/dpl:25:in `load'
	from /root/.asdf/installs/ruby/3.1.2/bin/dpl:25:in `<main>'

Also happens without release command. It seems like it trys to parse the url from the heroku result and rendezvous checks for StringIO without explicit requiring StringIO

Any idea?

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