質問編集履歴

3

解決済み

2020/12/15 05:17

投稿

qiyuren
qiyuren

スコア29

test CHANGED
@@ -1 +1 @@
1
- Ruby/Tk インストールできないです
1
+ aaaaaaaaaaaaa
test CHANGED
@@ -1,427 +1 @@
1
- Ruby/Tkを`gem install tk`でインストールしようとしたら、以下のエラーが出ました。解決策を調べてもhitせず、お力をお借りできれば幸いです。
2
-
3
-
4
-
5
- `Fail to find [tclConfig.sh, tkConfig.sh]`が肝だと思うのですが。。
6
-
7
-
8
-
9
- ### 発生している問題・エラーメッセージ
10
-
11
-
12
-
13
- ```
14
-
15
- ~ $ gem install tk
16
-
17
- Fetching tk-0.3.0.gem
18
-
19
- Building native extensions. This could take a while...
20
-
21
- ERROR: Error installing tk:
22
-
23
- ERROR: Failed to build gem native extension.
24
-
25
-
26
-
27
- current directory: /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/tk-0.3.0/ext/tk
28
-
29
- /Users/****/.rbenv/versions/2.6.5/bin/ruby -I /Users/****/.rbenv/versions/2.6.5/lib/ruby/2.6.0 -r ./siteconf20201215-2090-g0qb3m.rb extconf.rb
30
-
31
- check functions.checking for ruby_native_thread_p() in ruby.h... yes
32
-
33
- checking for rb_errinfo() in ruby.h... yes
34
-
35
- checking for rb_hash_lookup() in ruby.h... yes
36
-
37
- checking for rb_proc_new() in ruby.h... yes
38
-
39
- checking for rb_sourcefile() in ruby.h... yes
40
-
41
- checking for rb_thread_alive_p() in ruby.h... no
42
-
43
- checking for rb_thread_check_trap_pending() in ruby.h... yes
44
-
45
- checking for ruby_enc_find_basename() in ruby.h... yes
46
-
47
- check libraries.checking for t_open() in -lnsl... no
48
-
49
- checking for socket() in -lsocket... no
50
-
51
- checking for dlopen() in -ldl... yes
52
-
53
- checking for log() in -lm... yes
54
-
55
- Use ActiveTcl libraries (if available).
56
-
57
- Search tclConfig.sh and tkConfig.sh.
58
-
59
- Fail to find [tclConfig.sh, tkConfig.sh]
60
-
61
- Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
62
-
63
- checking for XOpenDisplay() in -lX11... no
64
-
65
- *** extconf.rb failed ***
66
-
67
- Could not create Makefile due to some reason, probably lack of necessary
68
-
69
- libraries and/or headers. Check the mkmf.log file for more details. You may
70
-
71
- need configuration options.
72
-
73
-
74
-
75
- Provided configuration options:
76
-
77
- --with-opt-dir
78
-
79
- --without-opt-dir
80
-
81
- --with-opt-include
82
-
83
- --without-opt-include=${opt-dir}/include
84
-
85
- --with-opt-lib
86
-
87
- --without-opt-lib=${opt-dir}/lib
88
-
89
- --with-make-prog
90
-
91
- --without-make-prog
92
-
93
- --srcdir=.
94
-
95
- --curdir
96
-
97
- --ruby=/Users/****/.rbenv/versions/2.6.5/bin/$(RUBY_BASE_NAME)
98
-
99
- --enable-shared
100
-
101
- --with-tk-old-extconf
102
-
103
- --without-tk-old-extconf
104
-
105
- --with-tk-old-extconf
106
-
107
- --without-tk-old-extconf
108
-
109
- --with-ActiveTcl
110
-
111
- --without-ActiveTcl
112
-
113
- --with-tk-shlib-search-path
114
-
115
- --without-tk-shlib-search-path
116
-
117
- --with-tcltkversion
118
-
119
- --without-tcltkversion
120
-
121
- --with-tcl-build-dir
122
-
123
- --without-tcl-build-dir
124
-
125
- --with-tk-build-dir
126
-
127
- --without-tk-build-dir
128
-
129
- --with-tcl-config
130
-
131
- --without-tcl-config
132
-
133
- --with-tk-config
134
-
135
- --without-tk-config
136
-
137
- --with-tclConfig-dir
138
-
139
- --without-tclConfig-dir
140
-
141
- --with-tkConfig-dir
142
-
143
- --without-tkConfig-dir
144
-
145
- --with-tclConfig-file
146
-
147
- --without-tclConfig-file
148
-
149
- --with-tkConfig-file
150
-
151
- --without-tkConfig-file
152
-
153
- --with-tcllib
154
-
155
- --without-tcllib
156
-
157
- --with-tklib
158
-
159
- --without-tklib
160
-
161
- --with-tcl-dir
162
-
163
- --without-tcl-dir
164
-
165
- --with-tk-dir
166
-
167
- --without-tk-dir
168
-
169
- --with-tcl-include
170
-
171
- --without-tcl-include
172
-
173
- --with-tk-include
174
-
175
- --without-tk-include
176
-
177
- --with-tcl-lib
178
-
179
- --without-tcl-lib
180
-
181
- --with-tk-lib
182
-
183
- --without-tk-lib
184
-
185
- --with-tcltk-framework
186
-
187
- --without-tcltk-framework
188
-
189
- --with-tcl-framework-dir
190
-
191
- --without-tcl-framework-dir
192
-
193
- --with-tk-framework-dir
194
-
195
- --without-tk-framework-dir
196
-
197
- --with-tcl-framework-header
198
-
199
- --without-tcl-framework-header
200
-
201
- --with-tk-framework-header
202
-
203
- --without-tk-framework-header
204
-
205
- --with-X11
206
-
207
- --without-X11
208
-
209
- --with-X11-dir
210
-
211
- --without-X11-dir
212
-
213
- --with-X11-include
214
-
215
- --without-X11-include
216
-
217
- --with-X11-lib
218
-
219
- --without-X11-lib
220
-
221
- --enable-tcltk-stubs
222
-
223
- --disable-tcltk-stubs
224
-
225
- --enable-tcl-h-ver-check
226
-
227
- --disable-tcl-h-ver-check
228
-
229
- --enable-tk-h-ver-check
230
-
231
- --disable-tk-h-ver-check
232
-
233
- --enable-mac-tcltk-framework
234
-
235
- --disable-mac-tcltk-framework
236
-
237
- --enable-tcltk-framework
238
-
239
- --disable-tcltk-framework
240
-
241
- --enable-pthread
242
-
243
- --disable-pthread
244
-
245
- --enable-tcl-thread
246
-
247
- --disable-tcl-thread
248
-
249
- --enable-space-on-tk-libpath
250
-
251
- --disable-space-on-tk-libpath
252
-
253
- --with-nsllib
254
-
255
- --without-nsllib
256
-
257
- --with-socketlib
258
-
259
- --without-socketlib
260
-
261
- --with-dllib
262
-
263
- --without-dllib
264
-
265
- --with-mlib
266
-
267
- --without-mlib
268
-
269
- --with-tcl-build-dir
270
-
271
- --without-tcl-build-dir
272
-
273
- --with-tk-build-dir
274
-
275
- --without-tk-build-dir
276
-
277
- --with-tcltkversion
278
-
279
- --without-tcltkversion
280
-
281
- --with-ActiveTcl
282
-
283
- --without-ActiveTcl
284
-
285
- --enable-space-on-tk-libpath
286
-
287
- --disable-space-on-tk-libpath
288
-
289
- --enable-tcltk-stubs
290
-
291
- --disable-tcltk-stubs
292
-
293
- --with-tcltk-stubs
294
-
295
- --without-tcltk-stubs
296
-
297
- --with-tcl-dir
298
-
299
- --without-tcl-dir
300
-
301
- --with-tcl-include
302
-
303
- --without-tcl-include=${tcl-dir}/include
304
-
305
- --with-tcl-lib
306
-
307
- --without-tcl-lib=${tcl-dir}/lib
308
-
309
- --with-tk-dir
310
-
311
- --without-tk-dir
312
-
313
- --with-tk-include
314
-
315
- --without-tk-include=${tk-dir}/include
316
-
317
- --with-tk-lib
318
-
319
- --without-tk-lib=${tk-dir}/lib
320
-
321
- --with-tclConfig-file
322
-
323
- --without-tclConfig-file
324
-
325
- --with-tkConfig-file
326
-
327
- --without-tkConfig-file
328
-
329
- --with-tclConfig-dir
330
-
331
- --without-tclConfig-dir
332
-
333
- --with-tkConfig-dir
334
-
335
- --without-tkConfig-dir
336
-
337
- --with-tcltk-framework
338
-
339
- --without-tcltk-framework
340
-
341
- --enable-tcltk-framework
342
-
343
- --disable-tcltk-framework
344
-
345
- --enable-tcltk-framework
346
-
347
- --disable-tcltk-framework
348
-
349
- --with-tk-shlib-search-path
350
-
351
- --without-tk-shlib-search-path
352
-
353
- --with-tklib
354
-
355
- --without-tklib
356
-
357
- --with-tcllib
358
-
359
- --without-tcllib
360
-
361
- --with-X11
362
-
363
- --without-X11
364
-
365
- --with-X11-dir
366
-
367
- --without-X11-dir
368
-
369
- --with-X11-include
370
-
371
- --without-X11-include=${X11-dir}/include
372
-
373
- --with-X11-lib
374
-
375
- --without-X11-lib=${X11-dir}/lib
376
-
377
- --with-X11-lib
378
-
379
- --without-X11-lib
380
-
381
- --with-X11lib
382
-
383
- --without-X11lib
384
-
385
-
386
-
387
- Warning:: cannot find X11 library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. If your Tcl/Tk don't require X11, please try --without-X11.
388
-
389
- Can't find X11 libraries.
390
-
391
- So, can't make tcltklib.so which is required by Ruby/Tk.
392
-
393
-
394
-
395
- To see why this extension failed to compile, please check the mkmf.log which can be found here:
396
-
397
-
398
-
399
- /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/extensions/x86_64-darwin-19/2.6.0/tk-0.3.0/mkmf.log
400
-
401
-
402
-
403
- extconf failed, exit code 1
404
-
405
-
406
-
407
- Gem files will remain installed in /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/tk-0.3.0 for inspection.
408
-
409
- Results logged to /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/extensions/x86_64-darwin-19/2.6.0/tk-0.3.0/gem_make.out
410
-
411
- ```
412
-
413
-
414
-
415
- ### 試したこと
416
-
417
-
418
-
419
- mdfindでtclConfig.sh, tkConfig.shを探しましたが、見つからなかったので、そもそも存在しないのでないかと思ってます。
420
-
421
-
422
-
423
- ### 補足情報(FW/ツールのバージョンなど)
424
-
425
- Ruby 2.6.5
426
-
427
- MacOS Catalina10.15.7
1
+ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

2

特になし

2020/12/15 05:16

投稿

qiyuren
qiyuren

スコア29

test CHANGED
@@ -1 +1 @@
1
- cyberduck アップロドしたのに、WEBページが見れない
1
+ Ruby/Tk インストルできないです
test CHANGED
@@ -1,13 +1,427 @@
1
- cyberduckでsshでロリポップレサーバーに接続し、ファイル(ディレクトリ)をアップロしたのですが、表示されているURLブラウザで入力しても、WEBページが見いです。
2
-
3
-
4
-
5
- アップロードしたディレクトリの構造としては、.htaccess(私のIP以外をIP制限するの記述のみ)、index.cgi、rubyのスクリプト2つ(メインロジック)、lib(ライブラリのディレクトリ)、views(erbファイルディレクトリ)です。
6
-
7
-
8
-
9
- sinatraでCGIで動くWEBアプリケションになります。
10
-
11
-
12
-
13
- 何か考えられる原因をご存知でしたら、ご教示いただけますでしょうか。
1
+ Ruby/Tkを`gem install tk`ストールしようとしたら以下のエラが出ました。解決策調べてもhitせずお力をお借りできば幸いです。
2
+
3
+
4
+
5
+ `Fail to find [tclConfig.sh, tkConfig.sh]`が肝だと思うのです
6
+
7
+
8
+
9
+ ### 発生している問題・エラメッセージ
10
+
11
+
12
+
13
+ ```
14
+
15
+ ~ $ gem install tk
16
+
17
+ Fetching tk-0.3.0.gem
18
+
19
+ Building native extensions. This could take a while...
20
+
21
+ ERROR: Error installing tk:
22
+
23
+ ERROR: Failed to build gem native extension.
24
+
25
+
26
+
27
+ current directory: /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/tk-0.3.0/ext/tk
28
+
29
+ /Users/****/.rbenv/versions/2.6.5/bin/ruby -I /Users/****/.rbenv/versions/2.6.5/lib/ruby/2.6.0 -r ./siteconf20201215-2090-g0qb3m.rb extconf.rb
30
+
31
+ check functions.checking for ruby_native_thread_p() in ruby.h... yes
32
+
33
+ checking for rb_errinfo() in ruby.h... yes
34
+
35
+ checking for rb_hash_lookup() in ruby.h... yes
36
+
37
+ checking for rb_proc_new() in ruby.h... yes
38
+
39
+ checking for rb_sourcefile() in ruby.h... yes
40
+
41
+ checking for rb_thread_alive_p() in ruby.h... no
42
+
43
+ checking for rb_thread_check_trap_pending() in ruby.h... yes
44
+
45
+ checking for ruby_enc_find_basename() in ruby.h... yes
46
+
47
+ check libraries.checking for t_open() in -lnsl... no
48
+
49
+ checking for socket() in -lsocket... no
50
+
51
+ checking for dlopen() in -ldl... yes
52
+
53
+ checking for log() in -lm... yes
54
+
55
+ Use ActiveTcl libraries (if available).
56
+
57
+ Search tclConfig.sh and tkConfig.sh.
58
+
59
+ Fail to find [tclConfig.sh, tkConfig.sh]
60
+
61
+ Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
62
+
63
+ checking for XOpenDisplay() in -lX11... no
64
+
65
+ *** extconf.rb failed ***
66
+
67
+ Could not create Makefile due to some reason, probably lack of necessary
68
+
69
+ libraries and/or headers. Check the mkmf.log file for more details. You may
70
+
71
+ need configuration options.
72
+
73
+
74
+
75
+ Provided configuration options:
76
+
77
+ --with-opt-dir
78
+
79
+ --without-opt-dir
80
+
81
+ --with-opt-include
82
+
83
+ --without-opt-include=${opt-dir}/include
84
+
85
+ --with-opt-lib
86
+
87
+ --without-opt-lib=${opt-dir}/lib
88
+
89
+ --with-make-prog
90
+
91
+ --without-make-prog
92
+
93
+ --srcdir=.
94
+
95
+ --curdir
96
+
97
+ --ruby=/Users/****/.rbenv/versions/2.6.5/bin/$(RUBY_BASE_NAME)
98
+
99
+ --enable-shared
100
+
101
+ --with-tk-old-extconf
102
+
103
+ --without-tk-old-extconf
104
+
105
+ --with-tk-old-extconf
106
+
107
+ --without-tk-old-extconf
108
+
109
+ --with-ActiveTcl
110
+
111
+ --without-ActiveTcl
112
+
113
+ --with-tk-shlib-search-path
114
+
115
+ --without-tk-shlib-search-path
116
+
117
+ --with-tcltkversion
118
+
119
+ --without-tcltkversion
120
+
121
+ --with-tcl-build-dir
122
+
123
+ --without-tcl-build-dir
124
+
125
+ --with-tk-build-dir
126
+
127
+ --without-tk-build-dir
128
+
129
+ --with-tcl-config
130
+
131
+ --without-tcl-config
132
+
133
+ --with-tk-config
134
+
135
+ --without-tk-config
136
+
137
+ --with-tclConfig-dir
138
+
139
+ --without-tclConfig-dir
140
+
141
+ --with-tkConfig-dir
142
+
143
+ --without-tkConfig-dir
144
+
145
+ --with-tclConfig-file
146
+
147
+ --without-tclConfig-file
148
+
149
+ --with-tkConfig-file
150
+
151
+ --without-tkConfig-file
152
+
153
+ --with-tcllib
154
+
155
+ --without-tcllib
156
+
157
+ --with-tklib
158
+
159
+ --without-tklib
160
+
161
+ --with-tcl-dir
162
+
163
+ --without-tcl-dir
164
+
165
+ --with-tk-dir
166
+
167
+ --without-tk-dir
168
+
169
+ --with-tcl-include
170
+
171
+ --without-tcl-include
172
+
173
+ --with-tk-include
174
+
175
+ --without-tk-include
176
+
177
+ --with-tcl-lib
178
+
179
+ --without-tcl-lib
180
+
181
+ --with-tk-lib
182
+
183
+ --without-tk-lib
184
+
185
+ --with-tcltk-framework
186
+
187
+ --without-tcltk-framework
188
+
189
+ --with-tcl-framework-dir
190
+
191
+ --without-tcl-framework-dir
192
+
193
+ --with-tk-framework-dir
194
+
195
+ --without-tk-framework-dir
196
+
197
+ --with-tcl-framework-header
198
+
199
+ --without-tcl-framework-header
200
+
201
+ --with-tk-framework-header
202
+
203
+ --without-tk-framework-header
204
+
205
+ --with-X11
206
+
207
+ --without-X11
208
+
209
+ --with-X11-dir
210
+
211
+ --without-X11-dir
212
+
213
+ --with-X11-include
214
+
215
+ --without-X11-include
216
+
217
+ --with-X11-lib
218
+
219
+ --without-X11-lib
220
+
221
+ --enable-tcltk-stubs
222
+
223
+ --disable-tcltk-stubs
224
+
225
+ --enable-tcl-h-ver-check
226
+
227
+ --disable-tcl-h-ver-check
228
+
229
+ --enable-tk-h-ver-check
230
+
231
+ --disable-tk-h-ver-check
232
+
233
+ --enable-mac-tcltk-framework
234
+
235
+ --disable-mac-tcltk-framework
236
+
237
+ --enable-tcltk-framework
238
+
239
+ --disable-tcltk-framework
240
+
241
+ --enable-pthread
242
+
243
+ --disable-pthread
244
+
245
+ --enable-tcl-thread
246
+
247
+ --disable-tcl-thread
248
+
249
+ --enable-space-on-tk-libpath
250
+
251
+ --disable-space-on-tk-libpath
252
+
253
+ --with-nsllib
254
+
255
+ --without-nsllib
256
+
257
+ --with-socketlib
258
+
259
+ --without-socketlib
260
+
261
+ --with-dllib
262
+
263
+ --without-dllib
264
+
265
+ --with-mlib
266
+
267
+ --without-mlib
268
+
269
+ --with-tcl-build-dir
270
+
271
+ --without-tcl-build-dir
272
+
273
+ --with-tk-build-dir
274
+
275
+ --without-tk-build-dir
276
+
277
+ --with-tcltkversion
278
+
279
+ --without-tcltkversion
280
+
281
+ --with-ActiveTcl
282
+
283
+ --without-ActiveTcl
284
+
285
+ --enable-space-on-tk-libpath
286
+
287
+ --disable-space-on-tk-libpath
288
+
289
+ --enable-tcltk-stubs
290
+
291
+ --disable-tcltk-stubs
292
+
293
+ --with-tcltk-stubs
294
+
295
+ --without-tcltk-stubs
296
+
297
+ --with-tcl-dir
298
+
299
+ --without-tcl-dir
300
+
301
+ --with-tcl-include
302
+
303
+ --without-tcl-include=${tcl-dir}/include
304
+
305
+ --with-tcl-lib
306
+
307
+ --without-tcl-lib=${tcl-dir}/lib
308
+
309
+ --with-tk-dir
310
+
311
+ --without-tk-dir
312
+
313
+ --with-tk-include
314
+
315
+ --without-tk-include=${tk-dir}/include
316
+
317
+ --with-tk-lib
318
+
319
+ --without-tk-lib=${tk-dir}/lib
320
+
321
+ --with-tclConfig-file
322
+
323
+ --without-tclConfig-file
324
+
325
+ --with-tkConfig-file
326
+
327
+ --without-tkConfig-file
328
+
329
+ --with-tclConfig-dir
330
+
331
+ --without-tclConfig-dir
332
+
333
+ --with-tkConfig-dir
334
+
335
+ --without-tkConfig-dir
336
+
337
+ --with-tcltk-framework
338
+
339
+ --without-tcltk-framework
340
+
341
+ --enable-tcltk-framework
342
+
343
+ --disable-tcltk-framework
344
+
345
+ --enable-tcltk-framework
346
+
347
+ --disable-tcltk-framework
348
+
349
+ --with-tk-shlib-search-path
350
+
351
+ --without-tk-shlib-search-path
352
+
353
+ --with-tklib
354
+
355
+ --without-tklib
356
+
357
+ --with-tcllib
358
+
359
+ --without-tcllib
360
+
361
+ --with-X11
362
+
363
+ --without-X11
364
+
365
+ --with-X11-dir
366
+
367
+ --without-X11-dir
368
+
369
+ --with-X11-include
370
+
371
+ --without-X11-include=${X11-dir}/include
372
+
373
+ --with-X11-lib
374
+
375
+ --without-X11-lib=${X11-dir}/lib
376
+
377
+ --with-X11-lib
378
+
379
+ --without-X11-lib
380
+
381
+ --with-X11lib
382
+
383
+ --without-X11lib
384
+
385
+
386
+
387
+ Warning:: cannot find X11 library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. If your Tcl/Tk don't require X11, please try --without-X11.
388
+
389
+ Can't find X11 libraries.
390
+
391
+ So, can't make tcltklib.so which is required by Ruby/Tk.
392
+
393
+
394
+
395
+ To see why this extension failed to compile, please check the mkmf.log which can be found here:
396
+
397
+
398
+
399
+ /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/extensions/x86_64-darwin-19/2.6.0/tk-0.3.0/mkmf.log
400
+
401
+
402
+
403
+ extconf failed, exit code 1
404
+
405
+
406
+
407
+ Gem files will remain installed in /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/tk-0.3.0 for inspection.
408
+
409
+ Results logged to /Users/****/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/extensions/x86_64-darwin-19/2.6.0/tk-0.3.0/gem_make.out
410
+
411
+ ```
412
+
413
+
414
+
415
+ ### 試したこと
416
+
417
+
418
+
419
+ mdfindでtclConfig.sh, tkConfig.shを探しましたが、見つからなかったので、そもそも存在しないのでないかと思ってます。
420
+
421
+
422
+
423
+ ### 補足情報(FW/ツールのバージョンなど)
424
+
425
+ Ruby 2.6.5
426
+
427
+ MacOS Catalina10.15.7

1

特になし

2020/12/15 05:14

投稿

qiyuren
qiyuren

スコア29

test CHANGED
@@ -1 +1 @@
1
- Ruby 正規表現 パタンマッチ
1
+ cyberduck アップロドしたの、WEBページが見れな
test CHANGED
@@ -1,5 +1,13 @@
1
- 以下の`str`文字列から`<table>a</table>`,`<table>b</table>`,`<table>c</table>`キャチャして配列に入れのですが、どうすいいしょうか
1
+ cyberduckでsshでロリポップレンタルサーバーに接続し、ファイル(ディレクトリ)アッロードしたのですが、表示さるURLをブラウザで入力しても、WEBページが見れないで
2
2
 
3
3
 
4
4
 
5
- `str = "<div class="12-08"><table>a</table></div><div class="12-07"><table>b</table></div><div class="12-06"><table>c</table></div>"`
5
+ アップロードしたディレクトリの構造としては、.htaccess(私のIP以外をIP制限するの記述のみ)、index.cgi、rubyのスクリプト2つ(メインロジック)、lib(ライブラリのディレクトリ)、viewserbファイルのディレクトリ)です。
6
+
7
+
8
+
9
+ sinatraでCGIで動くWEBアプリケーションになります。
10
+
11
+
12
+
13
+ 何か考えられる原因をご存知でしたら、ご教示いただけますでしょうか。