Project

General

Profile

Defect #38830 ยป bundle_install_using_sudo_password_and_ruby-bundler.txt

output of bundle install using sudo password and ruby-bundler - Dirk Blanckenhorn, 2023-07-10 16:06

 
1
Fetching gem metadata from https://rubygems.org/.........
2
Resolving dependencies.....
3
Using rake 13.0.6
4
Following files may not be writable, so sudo is needed:
5
  /usr/local/bin
6
  /var/lib/gems/3.0.0
7
  /var/lib/gems/3.0.0/build_info
8
  /var/lib/gems/3.0.0/cache
9
  /var/lib/gems/3.0.0/doc
10
  /var/lib/gems/3.0.0/extensions
11
  /var/lib/gems/3.0.0/gems
12
  /var/lib/gems/3.0.0/plugins
13
  /var/lib/gems/3.0.0/specifications
14
Using concurrent-ruby 1.2.2
15
Using zeitwerk 2.6.8
16
Using builder 3.2.4
17
Using minitest 5.18.1
18
Using erubi 1.12.0
19
Using crass 1.0.6
20
Using websocket-extensions 0.1.5
21
Using rack 2.2.7
22
Using marcel 1.0.2
23
Using method_source 1.0.0
24
Fetching racc 1.7.1
25
Using thor 1.2.2
26
Using public_suffix 5.0.1
27
Fetching nio4r 2.5.9
28
Using mini_mime 1.1.2
29
Using bundler 2.3.5
30
Using matrix 0.4.2
31
Using regexp_parser 2.8.1
32
Using ast 2.4.2
33
Using childprocess 3.0.0
34
Using chunky_png 1.4.0
35
Using csv 3.2.7
36
Fetching commonmarker 0.23.9
37
Fetching digest 3.1.1
38

    
39

    
40
Your user account isn't allowed to install to the system RubyGems.
41
  You can cancel this installation and run:
42

    
43
      bundle config set --local path 'vendor/bundle'
44
      bundle install
45

    
46
  to install the gems into ./vendor/bundle/, or you can enter your password
47
  and install the bundled gems to RubyGems using sudo.
48

    
49
  Password:
50
sudo: a password is required
51
tltgadmin@tltg-esw1:/opt/redmine-5.0$ bundle install
52
Fetching gem metadata from https://rubygems.org/.........
53
Resolving dependencies.....
54
Using rake 13.0.6
55
Following files may not be writable, so sudo is needed:
56
  /usr/local/bin
57
  /var/lib/gems/3.0.0
58
  /var/lib/gems/3.0.0/build_info
59
  /var/lib/gems/3.0.0/cache
60
  /var/lib/gems/3.0.0/doc
61
  /var/lib/gems/3.0.0/extensions
62
  /var/lib/gems/3.0.0/gems
63
  /var/lib/gems/3.0.0/plugins
64
  /var/lib/gems/3.0.0/specifications
65
Using concurrent-ruby 1.2.2
66
Using erubi 1.12.0
67
Using zeitwerk 2.6.8
68
Using crass 1.0.6
69
Fetching racc 1.7.1
70
Using minitest 5.18.1
71
Using rack 2.2.7
72
Using builder 3.2.4
73
Using websocket-extensions 0.1.5
74
Fetching nio4r 2.5.9
75
Using marcel 1.0.2
76
Using mini_mime 1.1.2
77
Using method_source 1.0.0
78
Using thor 1.2.2
79
Using public_suffix 5.0.1
80
Using bundler 2.3.5
81
Using ast 2.4.2
82
Using matrix 0.4.2
83
Using regexp_parser 2.8.1
84
Using childprocess 3.0.0
85
Using chunky_png 1.4.0
86
Using csv 3.2.7
87
Fetching commonmarker 0.23.9
88
Fetching digest 3.1.1
89

    
90

    
91
Your user account isn't allowed to install to the system RubyGems.
92
  You can cancel this installation and run:
93

    
94
      bundle config set --local path 'vendor/bundle'
95
      bundle install
96

    
97
  to install the gems into ./vendor/bundle/, or you can enter your password
98
  and install the bundled gems to RubyGems using sudo.
99

    
100
  Password:
101

    
102

    
103
Your user account isn't allowed to install to the system RubyGems.
104
  You can cancel this installation and run:
105

    
106
      bundle config set --local path 'vendor/bundle'
107
      bundle install
108

    
109
  to install the gems into ./vendor/bundle/, or you can enter your password
110
  and install the bundled gems to RubyGems using sudo.
111

    
112
  Password:
113
Installing racc 1.7.1 with native extensions
114
Installing digest 3.1.1 with native extensions
115
Installing nio4r 2.5.9 with native extensions
116
Installing commonmarker 0.23.9 with native extensions
117
Using docile 1.4.0
118
Fetching ffi 1.15.5
119
Using htmlentities 4.3.4
120
Using rb-fsevent 0.11.2
121
Using mini_magick 4.11.0
122
Using ruby2_keywords 0.0.5
123
Using timeout 0.4.0
124
Fetching strscan 3.0.6
125
Using net-ldap 0.17.1
126
Using parallel 1.23.0
127
Fetching pg 1.2.3
128
Using rainbow 3.1.1
129
Using rbpdf-font 1.19.1
130
Fetching redcarpet 3.5.1
131
Installing strscan 3.0.6 with native extensions
132
Installing redcarpet 3.5.1 with native extensions
133
Installing pg 1.2.3 with native extensions
134
Using rexml 3.2.5
135
Using rotp 6.2.2
136
Using rouge 3.28.0
137
Using rqrcode_core 1.2.0
138
Using ruby-progressbar 1.13.0
139
Using unicode-display_width 2.4.2
140
Using rubyzip 2.3.2
141
Using simplecov-html 0.12.3
142
Using simplecov_json_formatter 0.1.4
143
Using yard 0.9.34
144
Using i18n 1.10.0
145
Using tzinfo 2.0.6
146
Using rack-test 2.1.0
147
Using sprockets 4.2.0
148
Using request_store 1.5.1
149
Fetching websocket-driver 0.7.5
150
Installing ffi 1.15.5 with native extensions
151
Using mail 2.7.1
152
Using addressable 2.8.4
153
Using mocha 2.0.4
154
Using net-protocol 0.2.1
155
Using rbpdf 1.21.2
156
Using rqrcode 2.2.0
157
Using selenium-webdriver 3.142.7
158
Using simplecov 0.21.2
159
Using activesupport 6.1.7.4
160
Using css_parser 1.14.0
161
Using net-pop 0.1.2
162
Using net-smtp 0.3.3
163
Using globalid 1.1.0
164
Using activemodel 6.1.7.4
165
Installing websocket-driver 0.7.5 with native extensions
166
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
167

    
168
    current directory: /tmp/bundler20230710-17365-jy5oukracc-1.7.1/gems/racc-1.7.1/ext/racc/cparse
169
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230710-17365-4c2r1p.rb extconf.rb
170
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
171

    
172
You might have to install separate package for the ruby development
173
environment, ruby-dev or ruby-devel for example.
174

    
175
extconf failed, exit code 1
176

    
177
Gem files will remain installed in /tmp/bundler20230710-17365-jy5oukracc-1.7.1/gems/racc-1.7.1 for inspection.
178
Results logged to /tmp/bundler20230710-17365-jy5oukracc-1.7.1/extensions/x86_64-linux/3.0.0/racc-1.7.1/gem_make.out
179

    
180
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'
181
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
182
  /usr/lib/ruby/3.0.0/tempfile.rb:317:in `open'
183
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'
184
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in `build_extension'
185
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `block in build_extensions'
186
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `each'
187
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `build_extensions'
188
  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in `build_extensions'
189
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
190
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:28:in `install'
191
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:204:in `install'
192
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in `install'
193
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
194
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
195
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
196
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in `apply_func'
197
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in `block in process_queue'
198
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `loop'
199
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `process_queue'
200
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
201

    
202
An error occurred while installing racc (1.7.1), and Bundler cannot continue.
203

    
204
In Gemfile:
205
  rails was resolved to 6.1.7.4, which depends on
206
    actioncable was resolved to 6.1.7.4, which depends on
207
      actionpack was resolved to 6.1.7.4, which depends on
208
        actionview was resolved to 6.1.7.4, which depends on
209
          rails-dom-testing was resolved to 2.1.1, which depends on
210
            nokogiri was resolved to 1.15.3, which depends on
211
              racc
212

    
213

    
214
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
215

    
216
    current directory: /tmp/bundler20230710-17365-f932b7nio4r-2.5.9/gems/nio4r-2.5.9/ext/nio4r
217
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230710-17365-j1bdbk.rb extconf.rb
218
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
219

    
220
You might have to install separate package for the ruby development
221
environment, ruby-dev or ruby-devel for example.
222

    
223
extconf failed, exit code 1
224

    
225
Gem files will remain installed in /tmp/bundler20230710-17365-f932b7nio4r-2.5.9/gems/nio4r-2.5.9 for inspection.
226
Results logged to /tmp/bundler20230710-17365-f932b7nio4r-2.5.9/extensions/x86_64-linux/3.0.0/nio4r-2.5.9/gem_make.out
227

    
228
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'
229
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
230
  /usr/lib/ruby/3.0.0/tempfile.rb:317:in `open'
231
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'
232
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in `build_extension'
233
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `block in build_extensions'
234
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `each'
235
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `build_extensions'
236
  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in `build_extensions'
237
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
238
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:28:in `install'
239
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:204:in `install'
240
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in `install'
241
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
242
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
243
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
244
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in `apply_func'
245
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in `block in process_queue'
246
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `loop'
247
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `process_queue'
248
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
249

    
250
An error occurred while installing nio4r (2.5.9), and Bundler cannot continue.
251

    
252
In Gemfile:
253
  rails was resolved to 6.1.7.4, which depends on
254
    actioncable was resolved to 6.1.7.4, which depends on
255
      nio4r
256

    
257

    
258
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
259

    
260
    current directory: /tmp/bundler20230710-17365-87kgj4commonmarker-0.23.9/gems/commonmarker-0.23.9/ext/commonmarker
261
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230710-17365-pqflwm.rb extconf.rb
262
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
263

    
264
You might have to install separate package for the ruby development
265
environment, ruby-dev or ruby-devel for example.
266

    
267
extconf failed, exit code 1
268

    
269
Gem files will remain installed in /tmp/bundler20230710-17365-87kgj4commonmarker-0.23.9/gems/commonmarker-0.23.9 for inspection.
270
Results logged to /tmp/bundler20230710-17365-87kgj4commonmarker-0.23.9/extensions/x86_64-linux/3.0.0/commonmarker-0.23.9/gem_make.out
271

    
272
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'
273
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
274
  /usr/lib/ruby/3.0.0/tempfile.rb:317:in `open'
275
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'
276
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in `build_extension'
277
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `block in build_extensions'
278
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `each'
279
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `build_extensions'
280
  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in `build_extensions'
281
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
282
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:28:in `install'
283
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:204:in `install'
284
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in `install'
285
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
286
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
287
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
288
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in `apply_func'
289
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in `block in process_queue'
290
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `loop'
291
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `process_queue'
292
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
293

    
294
An error occurred while installing commonmarker (0.23.9), and Bundler cannot continue.
295

    
296
In Gemfile:
297
  commonmarker
298

    
299

    
300
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
301

    
302
    current directory: /tmp/bundler20230710-17365-pvxv83digest-3.1.1/gems/digest-3.1.1/ext/digest/bubblebabble
303
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230710-17365-bil4cw.rb extconf.rb
304
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
305

    
306
You might have to install separate package for the ruby development
307
environment, ruby-dev or ruby-devel for example.
308

    
309
extconf failed, exit code 1
310

    
311
Gem files will remain installed in /tmp/bundler20230710-17365-pvxv83digest-3.1.1/gems/digest-3.1.1 for inspection.
312
Results logged to /tmp/bundler20230710-17365-pvxv83digest-3.1.1/extensions/x86_64-linux/3.0.0/digest-3.1.1/gem_make.out
313

    
314
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'
315
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
316
  /usr/lib/ruby/3.0.0/tempfile.rb:317:in `open'
317
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'
318
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in `build_extension'
319
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `block in build_extensions'
320
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `each'
321
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `build_extensions'
322
  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in `build_extensions'
323
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
324
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:28:in `install'
325
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:204:in `install'
326
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in `install'
327
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
328
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
329
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
330
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in `apply_func'
331
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in `block in process_queue'
332
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `loop'
333
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `process_queue'
334
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
335

    
336
An error occurred while installing digest (3.1.1), and Bundler cannot continue.
337

    
338
In Gemfile:
339
  net-imap was resolved to 0.2.3, which depends on
340
    digest
341

    
342

    
343
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
344

    
345
    current directory: /tmp/bundler20230710-17365-uo8z9rstrscan-3.0.6/gems/strscan-3.0.6/ext/strscan
346
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230710-17365-isecgr.rb extconf.rb
347
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
348

    
349
You might have to install separate package for the ruby development
350
environment, ruby-dev or ruby-devel for example.
351

    
352
extconf failed, exit code 1
353

    
354
Gem files will remain installed in /tmp/bundler20230710-17365-uo8z9rstrscan-3.0.6/gems/strscan-3.0.6 for inspection.
355
Results logged to /tmp/bundler20230710-17365-uo8z9rstrscan-3.0.6/extensions/x86_64-linux/3.0.0/strscan-3.0.6/gem_make.out
356

    
357
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'
358
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
359
  /usr/lib/ruby/3.0.0/tempfile.rb:317:in `open'
360
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'
361
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in `build_extension'
362
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `block in build_extensions'
363
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `each'
364
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `build_extensions'
365
  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in `build_extensions'
366
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
367
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:28:in `install'
368
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:204:in `install'
369
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in `install'
370
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
371
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
372
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
373
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in `apply_func'
374
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in `block in process_queue'
375
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `loop'
376
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `process_queue'
377
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
378

    
379
An error occurred while installing strscan (3.0.6), and Bundler cannot continue.
380

    
381
In Gemfile:
382
  net-imap was resolved to 0.2.3, which depends on
383
    strscan
384

    
385

    
386
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
387

    
388
    current directory: /tmp/bundler20230710-17365-s1cpzoredcarpet-3.5.1/gems/redcarpet-3.5.1/ext/redcarpet
389
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230710-17365-cgpyx3.rb extconf.rb
390
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
391

    
392
You might have to install separate package for the ruby development
393
environment, ruby-dev or ruby-devel for example.
394

    
395
extconf failed, exit code 1
396

    
397
Gem files will remain installed in /tmp/bundler20230710-17365-s1cpzoredcarpet-3.5.1/gems/redcarpet-3.5.1 for inspection.
398
Results logged to /tmp/bundler20230710-17365-s1cpzoredcarpet-3.5.1/extensions/x86_64-linux/3.0.0/redcarpet-3.5.1/gem_make.out
399

    
400
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'
401
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
402
  /usr/lib/ruby/3.0.0/tempfile.rb:317:in `open'
403
  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'
404
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in `build_extension'
405
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `block in build_extensions'
406
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `each'
407
  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in `build_extensions'
408
  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in `build_extensions'
409
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
410
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/rubygems_gem_installer.rb:28:in `install'
411
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:204:in `install'
412
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in `install'
413
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
414
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
415
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
416
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in `apply_func'
417
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in `block in process_queue'
418
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `loop'
419
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in `process_queue'
420
  /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
421

    
422
An error occurred while installing redcarpet (3.5.1), and Bundler cannot continue.
423

    
424
In Gemfile:
425
  redcarpet
    (1-1/1)