Omit irb related examples temporary

This commit is contained in:
Hiroshi SHIBATA 2025-01-23 17:20:34 +09:00
parent 6bdccb35fc
commit 750e619504
Notes: git 2025-01-24 06:47:06 +00:00
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,12 @@
RSpec.describe "bundle console", readline: true do
before :each do
begin
require "irb"
rescue LoadError
skip "This spec requires IRB to be available"
end
build_repo2 do
# A minimal fake pry console
build_gem "pry" do |s|

View File

@ -950,6 +950,12 @@ G
end
it "starts IRB with the default group loaded when ruby version matches", :readline do
begin
require "irb"
rescue LoadError
skip "This spec requires IRB to be available"
end
gemfile <<-G
source "https://gem.repo1"
gem "myrack"