質問編集履歴
1
修正依頼があったため
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,4 +19,147 @@
|
|
19
19
|
|
20
20
|
なかなか解決出来なくて困っています。
|
21
21
|
些細なことでも大丈夫ですのでご回答頂けますと幸いです。
|
22
|
-
よろしくお願いします。
|
22
|
+
よろしくお願いします。
|
23
|
+
|
24
|
+
#補足
|
25
|
+
コマンド打つ時は何もディレクトリは指定しなくていいのでしょうか?
|
26
|
+
type -a mysqlの結果です。
|
27
|
+
```
|
28
|
+
mysql is /usr/local/opt/mysql@5.6/bin/mysql
|
29
|
+
mysql is /usr/local/opt/mysql@5.6/bin/mysql
|
30
|
+
mysql is /usr/local/opt/mysql@5.6/bin/mysql
|
31
|
+
mysql is /usr/local/bin/mysql
|
32
|
+
```
|
33
|
+
MySQLをMacに入れる時どうやったかちょっと分からないです、、、
|
34
|
+
スクールのカリキュラム通りに進めていたので最初の頃はさっぱり分からなかったんです。
|
35
|
+
アプリ作成時には
|
36
|
+
```
|
37
|
+
rails new アプリ名 -d mysql
|
38
|
+
```
|
39
|
+
アプリ作る時はデータベースをmysqlで指定しました。
|
40
|
+
先ほど質問時に記載するのを忘れていましたが、
|
41
|
+
一度試しでアプリ作成してみたらこういう感じの結果になります。
|
42
|
+
```
|
43
|
+
exist
|
44
|
+
identical README.md
|
45
|
+
identical Rakefile
|
46
|
+
identical .ruby-version
|
47
|
+
identical config.ru
|
48
|
+
conflict .gitignore
|
49
|
+
Overwrite /Users/パソコン名/projects/aaa/.gitignore? (enter "h" for help) [Ynaqdhm] y
|
50
|
+
force .gitignore
|
51
|
+
identical Gemfile
|
52
|
+
run git init from "."
|
53
|
+
Reinitialized existing Git repository in /Users/パソコン名/projects/aaa/.git/
|
54
|
+
identical package.json
|
55
|
+
exist app
|
56
|
+
identical app/assets/config/manifest.js
|
57
|
+
identical app/assets/javascripts/application.js
|
58
|
+
identical app/assets/javascripts/cable.js
|
59
|
+
identical app/assets/stylesheets/application.css
|
60
|
+
identical app/channels/application_cable/channel.rb
|
61
|
+
identical app/channels/application_cable/connection.rb
|
62
|
+
identical app/controllers/application_controller.rb
|
63
|
+
identical app/helpers/application_helper.rb
|
64
|
+
identical app/jobs/application_job.rb
|
65
|
+
identical app/mailers/application_mailer.rb
|
66
|
+
identical app/models/application_record.rb
|
67
|
+
identical app/views/layouts/application.html.erb
|
68
|
+
identical app/views/layouts/mailer.html.erb
|
69
|
+
identical app/views/layouts/mailer.text.erb
|
70
|
+
identical app/assets/images/.keep
|
71
|
+
exist app/assets/javascripts/channels
|
72
|
+
identical app/assets/javascripts/channels/.keep
|
73
|
+
identical app/controllers/concerns/.keep
|
74
|
+
identical app/models/concerns/.keep
|
75
|
+
exist bin
|
76
|
+
identical bin/bundle
|
77
|
+
conflict bin/rails
|
78
|
+
Overwrite /Users/パソコン名/projects/aaa/bin/rails? (enter "h" for help) [Ynaqdhm] y
|
79
|
+
force bin/rails
|
80
|
+
conflict bin/rake
|
81
|
+
Overwrite /Users/パソコン名/projects/aaa/bin/rake? (enter "h" for help) [Ynaqdhm] y
|
82
|
+
force bin/rake
|
83
|
+
identical bin/setup
|
84
|
+
identical bin/update
|
85
|
+
identical bin/yarn
|
86
|
+
exist config
|
87
|
+
identical config/routes.rb
|
88
|
+
identical config/application.rb
|
89
|
+
identical config/environment.rb
|
90
|
+
identical config/cable.yml
|
91
|
+
identical config/puma.rb
|
92
|
+
identical config/spring.rb
|
93
|
+
identical config/storage.yml
|
94
|
+
exist config/environments
|
95
|
+
identical config/environments/development.rb
|
96
|
+
identical config/environments/production.rb
|
97
|
+
identical config/environments/test.rb
|
98
|
+
exist config/initializers
|
99
|
+
identical config/initializers/application_controller_renderer.rb
|
100
|
+
identical config/initializers/assets.rb
|
101
|
+
identical config/initializers/backtrace_silencers.rb
|
102
|
+
identical config/initializers/content_security_policy.rb
|
103
|
+
identical config/initializers/cookies_serializer.rb
|
104
|
+
create config/initializers/cors.rb
|
105
|
+
identical config/initializers/filter_parameter_logging.rb
|
106
|
+
identical config/initializers/inflections.rb
|
107
|
+
identical config/initializers/mime_types.rb
|
108
|
+
create config/initializers/new_framework_defaults_5_2.rb
|
109
|
+
identical config/initializers/wrap_parameters.rb
|
110
|
+
exist config/locales
|
111
|
+
identical config/locales/en.yml
|
112
|
+
append .gitignore
|
113
|
+
identical config/boot.rb
|
114
|
+
identical config/database.yml
|
115
|
+
exist db
|
116
|
+
identical db/seeds.rb
|
117
|
+
exist lib
|
118
|
+
exist lib/tasks
|
119
|
+
identical lib/tasks/.keep
|
120
|
+
exist lib/assets
|
121
|
+
identical lib/assets/.keep
|
122
|
+
exist log
|
123
|
+
identical log/.keep
|
124
|
+
exist public
|
125
|
+
identical public/404.html
|
126
|
+
identical public/422.html
|
127
|
+
identical public/500.html
|
128
|
+
identical public/apple-touch-icon-precomposed.png
|
129
|
+
identical public/apple-touch-icon.png
|
130
|
+
identical public/favicon.ico
|
131
|
+
identical public/robots.txt
|
132
|
+
exist tmp
|
133
|
+
identical tmp/.keep
|
134
|
+
exist tmp/pids
|
135
|
+
identical tmp/pids/.keep
|
136
|
+
exist tmp/cache
|
137
|
+
exist tmp/cache/assets
|
138
|
+
exist vendor
|
139
|
+
identical vendor/.keep
|
140
|
+
exist test/fixtures
|
141
|
+
identical test/fixtures/.keep
|
142
|
+
exist test/fixtures/files
|
143
|
+
identical test/fixtures/files/.keep
|
144
|
+
exist test/controllers
|
145
|
+
identical test/controllers/.keep
|
146
|
+
exist test/mailers
|
147
|
+
identical test/mailers/.keep
|
148
|
+
exist test/models
|
149
|
+
identical test/models/.keep
|
150
|
+
exist test/helpers
|
151
|
+
identical test/helpers/.keep
|
152
|
+
exist test/integration
|
153
|
+
identical test/integration/.keep
|
154
|
+
identical test/test_helper.rb
|
155
|
+
exist test/system
|
156
|
+
identical test/system/.keep
|
157
|
+
identical test/application_system_test_case.rb
|
158
|
+
exist storage
|
159
|
+
identical storage/.keep
|
160
|
+
exist tmp/storage
|
161
|
+
identical tmp/storage/.keep
|
162
|
+
remove config/initializers/cors.rb
|
163
|
+
remove config/initializers/new_framework_defaults_5_2.rb
|
164
|
+
run bundle install
|
165
|
+
```
|