質問編集履歴
4
rails sでサーバー起動に成功したときの中身です。
test
CHANGED
File without changes
|
test
CHANGED
@@ -216,73 +216,11 @@
|
|
216
216
|
|
217
217
|
35: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:40:in `parse_file'
|
218
218
|
|
219
|
-
34: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:49:in
|
219
|
+
34: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:49:in each_strongly_connected_component'
|
220
|
-
|
221
|
-
33: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:49:in `eval'
|
222
|
-
|
223
|
-
32: from config.ru:in `<main>'
|
224
|
-
|
225
|
-
31: from config.ru:in `new'
|
226
|
-
|
227
|
-
30: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:55:in `initialize'
|
228
|
-
|
229
|
-
29: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:55:in `instance_eval'
|
230
|
-
|
231
|
-
28: from config.ru:3:in `block in <main>'
|
232
|
-
|
233
|
-
27: from config.ru:3:in `require_relative'
|
234
|
-
|
235
|
-
26: from C:/Ruby/rails/bbs2/config/environment.rb:5:in `<top (required)>'
|
236
|
-
|
237
|
-
25: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
|
238
|
-
|
239
|
-
24: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
|
240
|
-
|
241
|
-
23: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
|
242
|
-
|
243
|
-
22: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
|
244
|
-
|
245
|
-
21: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
|
246
|
-
|
247
|
-
20: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:347:in `call'
|
248
|
-
|
249
|
-
19: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:347:in `each'
|
250
|
-
|
251
|
-
18: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
|
252
|
-
|
253
|
-
17: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
|
254
|
-
|
255
|
-
16: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
|
256
220
|
|
257
221
|
15: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
|
258
222
|
|
259
|
-
|
223
|
+
|
260
|
-
|
261
|
-
13: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
|
262
|
-
|
263
|
-
12: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
|
264
|
-
|
265
|
-
11: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
|
266
|
-
|
267
|
-
10: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker.rb:35:in `bootstrap'
|
268
|
-
|
269
|
-
9: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/commands.rb:25:in `bootstrap'
|
270
|
-
|
271
|
-
8: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:18:in `refresh'
|
272
|
-
|
273
|
-
7: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:83:in `load'
|
274
|
-
|
275
|
-
6: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
|
276
|
-
|
277
|
-
5: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:47:in `public_output_path'
|
278
|
-
|
279
|
-
4: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:43:in `public_path'
|
280
|
-
|
281
|
-
3: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:84:in `fetch'
|
282
|
-
|
283
|
-
2: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:88:in `data'
|
284
|
-
|
285
|
-
1: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:91:in `load'
|
286
224
|
|
287
225
|
C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found C:/Ruby/rails/bbs2/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - C:/Ruby/rails/bbs2/config/webpacker.yml (RuntimeError)
|
288
226
|
|
@@ -291,3 +229,9 @@
|
|
291
229
|
C:\Ruby\rails\bbs2>
|
292
230
|
|
293
231
|
```
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
最終的にはこうなりました
|
236
|
+
|
237
|
+
![イメージ説明](536791b3fab704e4b5c1d672b660da40.png)
|
3
追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,92 +22,6 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
Options:
|
26
|
-
|
27
|
-
[--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated applications)
|
28
|
-
|
29
|
-
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
|
30
|
-
|
31
|
-
# Default: C:/Ruby/bin/ruby.exe
|
32
|
-
|
33
|
-
-m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL)
|
34
|
-
|
35
|
-
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
|
36
|
-
|
37
|
-
# Default: sqlite3
|
38
|
-
|
39
|
-
[--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile
|
40
|
-
|
41
|
-
-G, [--skip-git], [--no-skip-git] # Skip .gitignore file
|
42
|
-
|
43
|
-
[--skip-keeps], [--no-skip-keeps] # Skip source control .keep files
|
44
|
-
|
45
|
-
-M, [--skip-action-mailer], [--no-skip-action-mailer] # Skip Action Mailer files
|
46
|
-
|
47
|
-
[--skip-action-mailbox], [--no-skip-action-mailbox] # Skip Action Mailbox gem
|
48
|
-
|
49
|
-
[--skip-action-text], [--no-skip-action-text] # Skip Action Text gem
|
50
|
-
|
51
|
-
-O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record files
|
52
|
-
|
53
|
-
[--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files
|
54
|
-
|
55
|
-
-P, [--skip-puma], [--no-skip-puma] # Skip Puma related files
|
56
|
-
|
57
|
-
-C, [--skip-action-cable], [--no-skip-action-cable] # Skip Action Cable files
|
58
|
-
|
59
|
-
-S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files
|
60
|
-
|
61
|
-
[--skip-spring], [--no-skip-spring] # Don't install Spring application preloader
|
62
|
-
|
63
|
-
[--skip-listen], [--no-skip-listen] # Don't generate configuration that depends on the listen gem
|
64
|
-
|
65
|
-
-J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files
|
66
|
-
|
67
|
-
[--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem
|
68
|
-
|
69
|
-
-T, [--skip-test], [--no-skip-test] # Skip test files
|
70
|
-
|
71
|
-
[--skip-system-test], [--no-skip-system-test] # Skip system test files
|
72
|
-
|
73
|
-
[--skip-bootsnap], [--no-skip-bootsnap] # Skip bootsnap gem
|
74
|
-
|
75
|
-
[--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout
|
76
|
-
|
77
|
-
[--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository
|
78
|
-
|
79
|
-
[--rc=RC] # Path to file containing extra configuration options for rails command
|
80
|
-
|
81
|
-
[--no-rc], [--no-no-rc] # Skip loading of extra configuration options from .railsrc file
|
82
|
-
|
83
|
-
[--api], [--no-api] # Preconfigure smaller stack for API only apps
|
84
|
-
|
85
|
-
-B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle install
|
86
|
-
|
87
|
-
--webpacker, [--webpack=WEBPACK] # Preconfigure Webpack with a particular framework (options: react, vue, angular, elm, stimulus)
|
88
|
-
|
89
|
-
[--skip-webpack-install], [--no-skip-webpack-install] # Don't run Webpack install
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
Runtime options:
|
94
|
-
|
95
|
-
-f, [--force] # Overwrite files that already exist
|
96
|
-
|
97
|
-
-p, [--pretend], [--no-pretend] # Run but do not make any changes
|
98
|
-
|
99
|
-
-q, [--quiet], [--no-quiet] # Suppress status output
|
100
|
-
|
101
|
-
-s, [--skip], [--no-skip] # Skip files that already exist
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
Rails options:
|
106
|
-
|
107
|
-
-h, [--help], [--no-help] # Show this help message and quit
|
108
|
-
|
109
|
-
-v, [--version], [--no-version] # Show Rails version number and quit
|
110
|
-
|
111
25
|
|
112
26
|
|
113
27
|
Description:
|
@@ -166,12 +80,6 @@
|
|
166
80
|
|
167
81
|
|
168
82
|
|
169
|
-
あと一応参考にしたページを貼っておきます。主にプロゲートを見ながら構築しましたが最後でダメだったという感じです。
|
170
|
-
|
171
|
-
https://prog-8.com/docs/rails-env-win
|
172
|
-
|
173
|
-
https://blog.codecamp.jp/rails-for-win
|
174
|
-
|
175
83
|
|
176
84
|
|
177
85
|
### 追記
|
@@ -205,3 +113,181 @@
|
|
205
113
|
C:\Ruby\rails>
|
206
114
|
|
207
115
|
```
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
gitのコマンドを打った後にサーバー起動を試して得られた結果です。
|
120
|
+
|
121
|
+
```
|
122
|
+
|
123
|
+
C:\Ruby\rails\bbs2>rails s
|
124
|
+
|
125
|
+
=> Booting Puma
|
126
|
+
|
127
|
+
=> Rails 6.0.2.1 application starting in development
|
128
|
+
|
129
|
+
=> Run `rails server --help` for more startup options
|
130
|
+
|
131
|
+
Exiting
|
132
|
+
|
133
|
+
Traceback (most recent call last):
|
134
|
+
|
135
|
+
52: from bin/rails:4:in `<main>'
|
136
|
+
|
137
|
+
51: from bin/rails:4:in `require'
|
138
|
+
|
139
|
+
`perform'
|
140
|
+
|
141
|
+
43: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `tap'
|
142
|
+
|
143
|
+
42: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
|
144
|
+
|
145
|
+
41: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:37:in `start'
|
146
|
+
|
147
|
+
40: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
|
148
|
+
|
149
|
+
39: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/server.rb:354:in `wrapped_app'
|
150
|
+
|
151
|
+
38: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/server.rb:219:in `app'
|
152
|
+
|
153
|
+
37: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/server.rb:319:in `build_app_and_options_from_config'
|
154
|
+
|
155
|
+
14: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
|
156
|
+
|
157
|
+
13: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
|
158
|
+
|
159
|
+
12: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
|
160
|
+
|
161
|
+
11: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker.rb:35:in `bootstrap'
|
162
|
+
|
163
|
+
10: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/commands.rb:25:in `bootstrap'
|
164
|
+
|
165
|
+
9: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:18:in `refresh'
|
166
|
+
|
167
|
+
8: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:83:in `load'
|
168
|
+
|
169
|
+
7: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
|
170
|
+
|
171
|
+
6: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:47:in `public_output_path'
|
172
|
+
|
173
|
+
5: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:43:in `public_path'
|
174
|
+
|
175
|
+
4: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:84:in `fetch'
|
176
|
+
|
177
|
+
3: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:88:in `data'
|
178
|
+
|
179
|
+
2: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:92:in `load'
|
180
|
+
|
181
|
+
1: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:92:in `read'
|
182
|
+
|
183
|
+
C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:92:in `read': No such file or directory @ rb_sysopen - C:/Ruby/rails/bbs2/config/webpacker.yml (Errno::ENOENT)
|
184
|
+
|
185
|
+
51: from bin/rails:4:in `<main>'
|
186
|
+
|
187
|
+
50: from bin/rails:4:in `require'
|
188
|
+
|
189
|
+
49: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands.rb:18:in `<top (required)>'
|
190
|
+
|
191
|
+
48: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/command.rb:46:in `invoke'
|
192
|
+
|
193
|
+
47: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/command/base.rb:69:in `perform'
|
194
|
+
|
195
|
+
46: from C:/Ruby/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
|
196
|
+
|
197
|
+
45: from C:/Ruby/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
|
198
|
+
|
199
|
+
44: from C:/Ruby/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
|
200
|
+
|
201
|
+
43: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `perform'
|
202
|
+
|
203
|
+
42: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `tap'
|
204
|
+
|
205
|
+
41: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
|
206
|
+
|
207
|
+
40: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:37:in `start'
|
208
|
+
|
209
|
+
39: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
|
210
|
+
|
211
|
+
38: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/server.rb:354:in `wrapped_app'
|
212
|
+
|
213
|
+
37: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/server.rb:219:in `app'
|
214
|
+
|
215
|
+
36: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/server.rb:319:in `build_app_and_options_from_config'
|
216
|
+
|
217
|
+
35: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:40:in `parse_file'
|
218
|
+
|
219
|
+
34: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:49:in `new_from_string'
|
220
|
+
|
221
|
+
33: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:49:in `eval'
|
222
|
+
|
223
|
+
32: from config.ru:in `<main>'
|
224
|
+
|
225
|
+
31: from config.ru:in `new'
|
226
|
+
|
227
|
+
30: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:55:in `initialize'
|
228
|
+
|
229
|
+
29: from C:/Ruby/lib/ruby/gems/2.6.0/gems/rack-2.0.8/lib/rack/builder.rb:55:in `instance_eval'
|
230
|
+
|
231
|
+
28: from config.ru:3:in `block in <main>'
|
232
|
+
|
233
|
+
27: from config.ru:3:in `require_relative'
|
234
|
+
|
235
|
+
26: from C:/Ruby/rails/bbs2/config/environment.rb:5:in `<top (required)>'
|
236
|
+
|
237
|
+
25: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
|
238
|
+
|
239
|
+
24: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
|
240
|
+
|
241
|
+
23: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
|
242
|
+
|
243
|
+
22: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
|
244
|
+
|
245
|
+
21: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
|
246
|
+
|
247
|
+
20: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:347:in `call'
|
248
|
+
|
249
|
+
19: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:347:in `each'
|
250
|
+
|
251
|
+
18: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
|
252
|
+
|
253
|
+
17: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
|
254
|
+
|
255
|
+
16: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
|
256
|
+
|
257
|
+
15: from C:/Ruby/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
|
258
|
+
|
259
|
+
14: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
|
260
|
+
|
261
|
+
13: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
|
262
|
+
|
263
|
+
12: from C:/Ruby/lib/ruby/gems/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
|
264
|
+
|
265
|
+
11: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
|
266
|
+
|
267
|
+
10: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker.rb:35:in `bootstrap'
|
268
|
+
|
269
|
+
9: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/commands.rb:25:in `bootstrap'
|
270
|
+
|
271
|
+
8: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:18:in `refresh'
|
272
|
+
|
273
|
+
7: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:83:in `load'
|
274
|
+
|
275
|
+
6: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
|
276
|
+
|
277
|
+
5: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:47:in `public_output_path'
|
278
|
+
|
279
|
+
4: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:43:in `public_path'
|
280
|
+
|
281
|
+
3: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:84:in `fetch'
|
282
|
+
|
283
|
+
2: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:88:in `data'
|
284
|
+
|
285
|
+
1: from C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:91:in `load'
|
286
|
+
|
287
|
+
C:/Ruby/lib/ruby/gems/2.6.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found C:/Ruby/rails/bbs2/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - C:/Ruby/rails/bbs2/config/webpacker.yml (RuntimeError)
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
C:\Ruby\rails\bbs2>
|
292
|
+
|
293
|
+
```
|
2
コメントを受けてアプリ作成時の実行結果を追記いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -171,3 +171,37 @@
|
|
171
171
|
https://prog-8.com/docs/rails-env-win
|
172
172
|
|
173
173
|
https://blog.codecamp.jp/rails-for-win
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
### 追記
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
rails new bbs2で新しくアプリを作った時の結果です。
|
182
|
+
|
183
|
+
```
|
184
|
+
|
185
|
+
C:\Ruby\rails>rails new bbs2
|
186
|
+
|
187
|
+
create
|
188
|
+
|
189
|
+
create README.md
|
190
|
+
|
191
|
+
create Rakefile
|
192
|
+
|
193
|
+
create .ruby-version
|
194
|
+
|
195
|
+
create config.ru
|
196
|
+
|
197
|
+
create .gitignore
|
198
|
+
|
199
|
+
create Gemfile
|
200
|
+
|
201
|
+
run git init from "."
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
C:\Ruby\rails>
|
206
|
+
|
207
|
+
```
|
1
参考にしたページを貼りました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -163,3 +163,11 @@
|
|
163
163
|
作ったbbsフォルダの中身のスクショも貼っておきます(ここに原因がある気がしています)。
|
164
164
|
|
165
165
|
![イメージ説明](2bedf3c728f2cd0cd81e216578a2e818.png)
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
あと一応参考にしたページを貼っておきます。主にプロゲートを見ながら構築しましたが最後でダメだったという感じです。
|
170
|
+
|
171
|
+
https://prog-8.com/docs/rails-env-win
|
172
|
+
|
173
|
+
https://blog.codecamp.jp/rails-for-win
|