Skip to content

Commit

Permalink
TODO: Removed gem from Gemfile. I'm not sure why bundler couldn't fin…
Browse files Browse the repository at this point in the history
…d them with GitHub Actions
  • Loading branch information
hsbt committed Jul 7, 2023
1 parent 6dcd422 commit 203d35f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/test_bundled_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@ def test_bundled_gems_in_load_path
Dir.chdir(tmpdir) do
File.open("Gemfile", "w+") do |f|
f.puts "source 'https://rubygems.org'"
f.puts "gem 'rack', '3.0.8'"
end
system "gem install rack -v 3.0.8 --silent"
system "bundle install --quiet"
Bundler.ui.silence { Bundler.setup }
Gem.bundled_gems.each do |name, version|
assert_include $LOAD_PATH.join(":"), "#{name}-#{version}/lib"
end
assert_include $LOAD_PATH.join(":"), "rack-3.0.8/lib"
end
end
end;
Expand All @@ -36,10 +31,7 @@ class << self
Dir.chdir(tmpdir) do
File.open("Gemfile", "w+") do |f|
f.puts "source 'https://rubygems.org'"
f.puts "gem 'rack', '3.0.8'"
end
system "gem install rack -v 3.0.8 --silent"
system "bundle install --quiet"
Bundler.ui.silence { Bundler.setup }
module Gem
Expand All @@ -51,8 +43,6 @@ class << self
Gem.bundled_gems.each do |name, version|
assert_not_include $LOAD_PATH.join(":"), "#{name}-#{version}/lib"
end
assert_include $LOAD_PATH.join(":"), "rack-3.0.8/lib"
end
end
end;
Expand Down

0 comments on commit 203d35f

Please sign in to comment.