Skip to content

Uninitialized constant URI::REGEXP #1079

@thomaswitt

Description

@thomaswitt

After upgrading to ruby 3.3.6 I get the following error when including webmock in the spec_helper for rspec:

An error occurred while loading spec_helper.
Failure/Error: require 'webmock/rspec'

NameError:
  uninitialized constant URI::REGEXP
# ./spec/spec_helper.rb:4:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- webmock/rspec
#   ./spec/spec_helper.rb:4:in `<top (required)>'
No examples found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions