質問編集履歴

1

rails new 後に表示されたコードを追記しております。

2021/02/18 12:23

投稿

Riukix
Riukix

スコア0

test CHANGED
File without changes
test CHANGED
@@ -14,10 +14,228 @@
14
14
 
15
15
  ```
16
16
 
17
- を行った後に、ディレクトリを移動し
17
+ を行うと
18
18
 
19
19
  ```terminal
20
20
 
21
+ create
22
+
23
+ create README.md
24
+
25
+ create Rakefile
26
+
27
+ create .ruby-version
28
+
29
+ create config.ru
30
+
31
+ create .gitignore
32
+
33
+ create Gemfile
34
+
35
+ run git init from "."
36
+
37
+ hint: Using 'master' as the name for the initial branch. This default branch name
38
+
39
+ hint: is subject to change. To configure the initial branch name to use in all
40
+
41
+ hint: of your new repositories, which will suppress this warning, call:
42
+
43
+ hint:
44
+
45
+ hint: git config --global init.defaultBranch <name>
46
+
47
+ hint:
48
+
49
+ hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
50
+
51
+ hint: 'development'. The just-created branch can be renamed via this command:
52
+
53
+ hint:
54
+
55
+ hint: git branch -m <name>
56
+
57
+ Initialized empty Git repository in /Users/***/sample_app/.git/
58
+
59
+ create package.json
60
+
61
+ create app
62
+
63
+ create app/assets/config/manifest.js
64
+
65
+ create app/assets/javascripts/application.js
66
+
67
+ create app/assets/javascripts/cable.js
68
+
69
+ create app/assets/stylesheets/application.css
70
+
71
+ create app/channels/application_cable/channel.rb
72
+
73
+ create app/channels/application_cable/connection.rb
74
+
75
+ create app/controllers/application_controller.rb
76
+
77
+ create app/helpers/application_helper.rb
78
+
79
+ create app/jobs/application_job.rb
80
+
81
+ create app/mailers/application_mailer.rb
82
+
83
+ create app/models/application_record.rb
84
+
85
+ create app/views/layouts/application.html.erb
86
+
87
+ create app/views/layouts/mailer.html.erb
88
+
89
+ create app/views/layouts/mailer.text.erb
90
+
91
+ create app/assets/images/.keep
92
+
93
+ create app/assets/javascripts/channels
94
+
95
+ create app/assets/javascripts/channels/.keep
96
+
97
+ create app/controllers/concerns/.keep
98
+
99
+ create app/models/concerns/.keep
100
+
101
+ create bin
102
+
103
+ create bin/bundle
104
+
105
+ create bin/rails
106
+
107
+ create bin/rake
108
+
109
+ create bin/setup
110
+
111
+ create bin/update
112
+
113
+ create bin/yarn
114
+
115
+ create config
116
+
117
+ create config/routes.rb
118
+
119
+ create config/application.rb
120
+
121
+ create config/environment.rb
122
+
123
+ create config/cable.yml
124
+
125
+ create config/puma.rb
126
+
127
+ create config/spring.rb
128
+
129
+ create config/storage.yml
130
+
131
+ create config/environments
132
+
133
+ create config/environments/development.rb
134
+
135
+ create config/environments/production.rb
136
+
137
+ create config/environments/test.rb
138
+
139
+ create config/initializers
140
+
141
+ create config/initializers/application_controller_renderer.rb
142
+
143
+ create config/initializers/assets.rb
144
+
145
+ create config/initializers/backtrace_silencers.rb
146
+
147
+ create config/initializers/content_security_policy.rb
148
+
149
+ create config/initializers/cookies_serializer.rb
150
+
151
+ create config/initializers/cors.rb
152
+
153
+ create config/initializers/filter_parameter_logging.rb
154
+
155
+ create config/initializers/inflections.rb
156
+
157
+ create config/initializers/mime_types.rb
158
+
159
+ create config/initializers/new_framework_defaults_5_2.rb
160
+
161
+ create config/initializers/wrap_parameters.rb
162
+
163
+ create config/locales
164
+
165
+ create config/locales/en.yml
166
+
167
+ create config/master.key
168
+
169
+ append .gitignore
170
+
171
+ /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-5.2.4.1/lib/active_support/messages/metadata.rb:17:in `wrap': wrong number of arguments (given 2, expected 1) (ArgumentError)
172
+
173
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-5.2.4.1/lib/active_support/message_encryptor.rb:175:in `_encrypt'
174
+
175
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-5.2.4.1/lib/active_support/message_encryptor.rb:151:in `encrypt_and_sign'
176
+
177
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-5.2.4.1/lib/active_support/encrypted_file.rb:75:in `encrypt'
178
+
179
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-5.2.4.1/lib/active_support/encrypted_file.rb:49:in `write'
180
+
181
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-5.2.4.1/lib/active_support/encrypted_configuration.rb:29:in `write'
182
+
183
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/generators/rails/credentials/credentials_generator.rb:31:in `add_credentials_file_silently'
184
+
185
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/generators/rails/app/app_generator.rb:185:in `credentials'
186
+
187
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/generators/app_base.rb:159:in `build'
188
+
189
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/generators/rails/app/app_generator.rb:328:in `create_credentials'
190
+
191
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
192
+
193
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
194
+
195
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:134:in `block in invoke_all'
196
+
197
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:134:in `each'
198
+
199
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:134:in `map'
200
+
201
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:134:in `invoke_all'
202
+
203
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/group.rb:232:in `dispatch'
204
+
205
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start'
206
+
207
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/commands/application/application_command.rb:26:in `perform'
208
+
209
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
210
+
211
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
212
+
213
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
214
+
215
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/command/base.rb:69:in `perform'
216
+
217
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/command.rb:46:in `invoke'
218
+
219
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/lib/rails/cli.rb:18:in `<top (required)>'
220
+
221
+ from <internal:/Users/***/.rbenv/versions/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
222
+
223
+ from <internal:/Users/***/.rbenv/versions/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
224
+
225
+ from /Users/***/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/railties-5.2.4.1/exe/rails:10:in `<top (required)>'
226
+
227
+ from /Users/***/.rbenv/versions/3.0.0/bin/rails:23:in `load'
228
+
229
+ from /Users/***/.rbenv/versions/3.0.0/bin/rails:23:in `<main>'
230
+
231
+
232
+
233
+ ```
234
+
235
+ これは成功している?と思います。しかし
236
+
237
+ ```terminal
238
+
21
239
  $ rails s
22
240
 
23
241
  ```