質問編集履歴

1

修正依頼があったため

2020/03/15 08:43

投稿

yume0409
yume0409

スコア45

test CHANGED
File without changes
test CHANGED
@@ -41,3 +41,289 @@
41
41
  些細なことでも大丈夫ですのでご回答頂けますと幸いです。
42
42
 
43
43
  よろしくお願いします。
44
+
45
+
46
+
47
+ #補足
48
+
49
+ コマンド打つ時は何もディレクトリは指定しなくていいのでしょうか?
50
+
51
+ type -a mysqlの結果です。
52
+
53
+ ```
54
+
55
+ mysql is /usr/local/opt/mysql@5.6/bin/mysql
56
+
57
+ mysql is /usr/local/opt/mysql@5.6/bin/mysql
58
+
59
+ mysql is /usr/local/opt/mysql@5.6/bin/mysql
60
+
61
+ mysql is /usr/local/bin/mysql
62
+
63
+ ```
64
+
65
+ MySQLをMacに入れる時どうやったかちょっと分からないです、、、
66
+
67
+ スクールのカリキュラム通りに進めていたので最初の頃はさっぱり分からなかったんです。
68
+
69
+ アプリ作成時には
70
+
71
+ ```
72
+
73
+ rails new アプリ名 -d mysql
74
+
75
+ ```
76
+
77
+ アプリ作る時はデータベースをmysqlで指定しました。
78
+
79
+ 先ほど質問時に記載するのを忘れていましたが、
80
+
81
+ 一度試しでアプリ作成してみたらこういう感じの結果になります。
82
+
83
+ ```
84
+
85
+ exist
86
+
87
+ identical README.md
88
+
89
+ identical Rakefile
90
+
91
+ identical .ruby-version
92
+
93
+ identical config.ru
94
+
95
+ conflict .gitignore
96
+
97
+ Overwrite /Users/パソコン名/projects/aaa/.gitignore? (enter "h" for help) [Ynaqdhm] y
98
+
99
+ force .gitignore
100
+
101
+ identical Gemfile
102
+
103
+ run git init from "."
104
+
105
+ Reinitialized existing Git repository in /Users/パソコン名/projects/aaa/.git/
106
+
107
+ identical package.json
108
+
109
+ exist app
110
+
111
+ identical app/assets/config/manifest.js
112
+
113
+ identical app/assets/javascripts/application.js
114
+
115
+ identical app/assets/javascripts/cable.js
116
+
117
+ identical app/assets/stylesheets/application.css
118
+
119
+ identical app/channels/application_cable/channel.rb
120
+
121
+ identical app/channels/application_cable/connection.rb
122
+
123
+ identical app/controllers/application_controller.rb
124
+
125
+ identical app/helpers/application_helper.rb
126
+
127
+ identical app/jobs/application_job.rb
128
+
129
+ identical app/mailers/application_mailer.rb
130
+
131
+ identical app/models/application_record.rb
132
+
133
+ identical app/views/layouts/application.html.erb
134
+
135
+ identical app/views/layouts/mailer.html.erb
136
+
137
+ identical app/views/layouts/mailer.text.erb
138
+
139
+ identical app/assets/images/.keep
140
+
141
+ exist app/assets/javascripts/channels
142
+
143
+ identical app/assets/javascripts/channels/.keep
144
+
145
+ identical app/controllers/concerns/.keep
146
+
147
+ identical app/models/concerns/.keep
148
+
149
+ exist bin
150
+
151
+ identical bin/bundle
152
+
153
+ conflict bin/rails
154
+
155
+ Overwrite /Users/パソコン名/projects/aaa/bin/rails? (enter "h" for help) [Ynaqdhm] y
156
+
157
+ force bin/rails
158
+
159
+ conflict bin/rake
160
+
161
+ Overwrite /Users/パソコン名/projects/aaa/bin/rake? (enter "h" for help) [Ynaqdhm] y
162
+
163
+ force bin/rake
164
+
165
+ identical bin/setup
166
+
167
+ identical bin/update
168
+
169
+ identical bin/yarn
170
+
171
+ exist config
172
+
173
+ identical config/routes.rb
174
+
175
+ identical config/application.rb
176
+
177
+ identical config/environment.rb
178
+
179
+ identical config/cable.yml
180
+
181
+ identical config/puma.rb
182
+
183
+ identical config/spring.rb
184
+
185
+ identical config/storage.yml
186
+
187
+ exist config/environments
188
+
189
+ identical config/environments/development.rb
190
+
191
+ identical config/environments/production.rb
192
+
193
+ identical config/environments/test.rb
194
+
195
+ exist config/initializers
196
+
197
+ identical config/initializers/application_controller_renderer.rb
198
+
199
+ identical config/initializers/assets.rb
200
+
201
+ identical config/initializers/backtrace_silencers.rb
202
+
203
+ identical config/initializers/content_security_policy.rb
204
+
205
+ identical config/initializers/cookies_serializer.rb
206
+
207
+ create config/initializers/cors.rb
208
+
209
+ identical config/initializers/filter_parameter_logging.rb
210
+
211
+ identical config/initializers/inflections.rb
212
+
213
+ identical config/initializers/mime_types.rb
214
+
215
+ create config/initializers/new_framework_defaults_5_2.rb
216
+
217
+ identical config/initializers/wrap_parameters.rb
218
+
219
+ exist config/locales
220
+
221
+ identical config/locales/en.yml
222
+
223
+ append .gitignore
224
+
225
+ identical config/boot.rb
226
+
227
+ identical config/database.yml
228
+
229
+ exist db
230
+
231
+ identical db/seeds.rb
232
+
233
+ exist lib
234
+
235
+ exist lib/tasks
236
+
237
+ identical lib/tasks/.keep
238
+
239
+ exist lib/assets
240
+
241
+ identical lib/assets/.keep
242
+
243
+ exist log
244
+
245
+ identical log/.keep
246
+
247
+ exist public
248
+
249
+ identical public/404.html
250
+
251
+ identical public/422.html
252
+
253
+ identical public/500.html
254
+
255
+ identical public/apple-touch-icon-precomposed.png
256
+
257
+ identical public/apple-touch-icon.png
258
+
259
+ identical public/favicon.ico
260
+
261
+ identical public/robots.txt
262
+
263
+ exist tmp
264
+
265
+ identical tmp/.keep
266
+
267
+ exist tmp/pids
268
+
269
+ identical tmp/pids/.keep
270
+
271
+ exist tmp/cache
272
+
273
+ exist tmp/cache/assets
274
+
275
+ exist vendor
276
+
277
+ identical vendor/.keep
278
+
279
+ exist test/fixtures
280
+
281
+ identical test/fixtures/.keep
282
+
283
+ exist test/fixtures/files
284
+
285
+ identical test/fixtures/files/.keep
286
+
287
+ exist test/controllers
288
+
289
+ identical test/controllers/.keep
290
+
291
+ exist test/mailers
292
+
293
+ identical test/mailers/.keep
294
+
295
+ exist test/models
296
+
297
+ identical test/models/.keep
298
+
299
+ exist test/helpers
300
+
301
+ identical test/helpers/.keep
302
+
303
+ exist test/integration
304
+
305
+ identical test/integration/.keep
306
+
307
+ identical test/test_helper.rb
308
+
309
+ exist test/system
310
+
311
+ identical test/system/.keep
312
+
313
+ identical test/application_system_test_case.rb
314
+
315
+ exist storage
316
+
317
+ identical storage/.keep
318
+
319
+ exist tmp/storage
320
+
321
+ identical tmp/storage/.keep
322
+
323
+ remove config/initializers/cors.rb
324
+
325
+ remove config/initializers/new_framework_defaults_5_2.rb
326
+
327
+ run bundle install
328
+
329
+ ```