Skip to content

Commit fb9b186

Browse files
committed
Remove bundler installation
It installs bundler without specifying the version in CI. But, it installs bundler which does not work with old Ruby, and it causes failure. So, this patch remove bundler installation and uses bundler bundled in Ruby.
1 parent 40bf404 commit fb9b186

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
ruby-version: ${{ matrix.ruby }}
2222
- name: Build and Install
2323
run: |
24-
gem install --no-document bundler
2524
gem build numo-narray.gemspec
2625
gem install numo-narray-*.gem
2726
bundle install
@@ -44,7 +43,6 @@ jobs:
4443
ruby-version: ${{ matrix.ruby }}
4544
- name: Build and Install
4645
run: |
47-
gem install --no-document bundler
4846
gem build numo-narray.gemspec
4947
gem install numo-narray-*.gem
5048
bundle install

numo-narray.gemspec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ Gem::Specification.new do |spec|
2828
spec.require_paths = ["lib"]
2929
spec.extensions = ["ext/numo/narray/extconf.rb"]
3030

31-
if RUBY_VERSION < '2.3' # Ruby 2.2.x
32-
spec.add_development_dependency "bundler", "~> 1.3", "< 1.14.0"
33-
else
34-
spec.add_development_dependency "bundler", ">= 2.2.33"
35-
end
3631
spec.add_development_dependency "rake", ">= 12.3.3"
3732
spec.add_development_dependency "rake-compiler", "~> 1.1"
3833
spec.add_development_dependency "test-unit"

0 commit comments

Comments
 (0)