Skip to content

Commit 750e619

Browse files
committed
Omit irb related examples temporary
1 parent 6bdccb3 commit 750e619

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

spec/bundler/commands/console_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
RSpec.describe "bundle console", readline: true do
44
before :each do
5+
begin
6+
require "irb"
7+
rescue LoadError
8+
skip "This spec requires IRB to be available"
9+
end
10+
511
build_repo2 do
612
# A minimal fake pry console
713
build_gem "pry" do |s|

spec/bundler/commands/platform_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,12 @@ def should_be_patchlevel_fixnum
950950
end
951951

952952
it "starts IRB with the default group loaded when ruby version matches", :readline do
953+
begin
954+
require "irb"
955+
rescue LoadError
956+
skip "This spec requires IRB to be available"
957+
end
958+
953959
gemfile <<-G
954960
source "https://gem.repo1"
955961
gem "myrack"

0 commit comments

Comments
 (0)