Skip to content

Commit 416ba84

Browse files
committed
Set BUNDLE_WITHOUT to install less dependencies
1 parent d0b66af commit 416ba84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Rakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ end
4646
def generate_rails_rdoc
4747
cd 'rails' do
4848
Bundler.with_unbundled_env do
49+
# TODO: use `BUNDLE_ONLY`(require bundler 2.3.19+).
50+
ENV['BUNDLE_WITHOUT'] = 'db:job:storage'
51+
4952
# replace sdoc gem
5053
gemfile = File.read('Gemfile')
5154
gemfile.gsub!(/"sdoc.*$/, '"sdoc", github: "toshimaru/sdoc", branch: "railsdoc"')

0 commit comments

Comments
 (0)