Skip to content

Instantly share code, notes, and snippets.

@yahonda
Created November 19, 2024 00:47
Show Gist options
  • Save yahonda/4c941450eb1d692e1895e21e6310a753 to your computer and use it in GitHub Desktop.
Save yahonda/4c941450eb1d692e1895e21e6310a753 to your computer and use it in GitHub Desktop.
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
gem "webmock"
# gem "webmock", git: "https://github.com/Earlopain/webmock.git", branch: "net-http-adapter-ruby-3.4"
end
p RUBY_VERSION
WebMock.enable!
WebMock.disable!
@yahonda
Copy link
Author

yahonda commented Nov 19, 2024

$ ruby -w webmock_ruby34.rb 
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
"3.3.6"
$

@yahonda
Copy link
Author

yahonda commented Nov 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment