質問編集履歴

2

題名の編集

2018/10/07 12:30

投稿

kiki142
kiki142

スコア13

test CHANGED
@@ -1 +1 @@
1
- ruby on rails環境構築
1
+ ruby on rails環境構築 ターミナルでrails new sample appと打つとgemfileにpumaサーバーのgemがないというメッセージが出ます
test CHANGED
File without changes

1

文法の修正

2018/10/07 12:29

投稿

kiki142
kiki142

スコア13

test CHANGED
File without changes
test CHANGED
@@ -1 +1,283 @@
1
- ターナルでrails new sample appと打つとgemfileにpumaサーバーのgemがないと言うメッセージが来ます、それからbundleinstallしてくださいと書いてました。そのgemfireを修正するにはどうすればいいですか?
1
+ ターナルでrails new sample appと打つとgemfileにpumaサーバーのgemがないと言うメッセージが来ます、それからbundleinstallしてくださいと書いてました。そのgemfireを修正するにはどうすればいいですか?
2
+
3
+ ```ここに言語を入力
4
+
5
+ exist
6
+
7
+ identical README.md
8
+
9
+ identical Rakefile
10
+
11
+ identical .ruby-version
12
+
13
+ identical config.ru
14
+
15
+ conflict .gitignore
16
+
17
+ Overwrite /Users//sample/.gitignore? (enter "h" for help) [Ynaqdh]
18
+
19
+ force .gitignore
20
+
21
+ identical Gemfile
22
+
23
+ run git init from "."
24
+
25
+
26
+
27
+ Reinitialized existing Git repository in /Users//sample/.git/
28
+
29
+ identical package.json
30
+
31
+ exist app
32
+
33
+ identical app/assets/config/manifest.js
34
+
35
+ identical app/assets/javascripts/application.js
36
+
37
+ identical app/assets/javascripts/cable.js
38
+
39
+ identical app/assets/stylesheets/application.css
40
+
41
+ identical app/channels/application_cable/channel.rb
42
+
43
+ identical app/channels/application_cable/connection.rb
44
+
45
+ identical app/controllers/application_controller.rb
46
+
47
+ identical app/helpers/application_helper.rb
48
+
49
+ identical app/jobs/application_job.rb
50
+
51
+ identical app/mailers/application_mailer.rb
52
+
53
+ identical app/models/application_record.rb
54
+
55
+ identical app/views/layouts/application.html.erb
56
+
57
+ identical app/views/layouts/mailer.html.erb
58
+
59
+ identical app/views/layouts/mailer.text.erb
60
+
61
+ identical app/assets/images/.keep
62
+
63
+ exist app/assets/javascripts/channels
64
+
65
+ identical app/assets/javascripts/channels/.keep
66
+
67
+ identical app/controllers/concerns/.keep
68
+
69
+ identical app/models/concerns/.keep
70
+
71
+ exist bin
72
+
73
+ identical bin/bundle
74
+
75
+ identical bin/rails
76
+
77
+ identical bin/rake
78
+
79
+ identical bin/setup
80
+
81
+ identical bin/update
82
+
83
+ identical bin/yarn
84
+
85
+ exist config
86
+
87
+ identical config/routes.rb
88
+
89
+ identical config/application.rb
90
+
91
+ identical config/environment.rb
92
+
93
+ identical config/cable.yml
94
+
95
+ identical config/puma.rb
96
+
97
+ identical config/spring.rb
98
+
99
+ identical config/storage.yml
100
+
101
+ exist config/environments
102
+
103
+ identical config/environments/development.rb
104
+
105
+ identical config/environments/production.rb
106
+
107
+ identical config/environments/test.rb
108
+
109
+ exist config/initializers
110
+
111
+ identical config/initializers/application_controller_renderer.rb
112
+
113
+ identical config/initializers/assets.rb
114
+
115
+ identical config/initializers/backtrace_silencers.rb
116
+
117
+ identical config/initializers/content_security_policy.rb
118
+
119
+ identical config/initializers/cookies_serializer.rb
120
+
121
+ create config/initializers/cors.rb
122
+
123
+ identical config/initializers/filter_parameter_logging.rb
124
+
125
+ identical config/initializers/inflections.rb
126
+
127
+ identical config/initializers/mime_types.rb
128
+
129
+ create config/initializers/new_framework_defaults_5_2.rb
130
+
131
+ identical config/initializers/wrap_parameters.rb
132
+
133
+ exist config/locales
134
+
135
+ identical config/locales/en.yml
136
+
137
+
138
+
139
+ append .gitignore
140
+
141
+ identical config/boot.rb
142
+
143
+ identical config/database.yml
144
+
145
+ exist db
146
+
147
+ identical db/seeds.rb
148
+
149
+ exist lib
150
+
151
+ exist lib/tasks
152
+
153
+ identical lib/tasks/.keep
154
+
155
+ exist lib/assets
156
+
157
+ identical lib/assets/.keep
158
+
159
+ exist log
160
+
161
+ identical log/.keep
162
+
163
+ exist public
164
+
165
+ identical public/404.html
166
+
167
+ identical public/422.html
168
+
169
+ identical public/500.html
170
+
171
+ identical public/apple-touch-icon-precomposed.png
172
+
173
+ identical public/apple-touch-icon.png
174
+
175
+ identical public/favicon.ico
176
+
177
+ identical public/robots.txt
178
+
179
+ exist tmp
180
+
181
+ identical tmp/.keep
182
+
183
+ exist tmp/cache
184
+
185
+ exist tmp/cache/assets
186
+
187
+ exist vendor
188
+
189
+ identical vendor/.keep
190
+
191
+ exist test/fixtures
192
+
193
+ identical test/fixtures/.keep
194
+
195
+ exist test/fixtures/files
196
+
197
+ identical test/fixtures/files/.keep
198
+
199
+ exist test/controllers
200
+
201
+ identical test/controllers/.keep
202
+
203
+ exist test/mailers
204
+
205
+ identical test/mailers/.keep
206
+
207
+ exist test/models
208
+
209
+ identical test/models/.keep
210
+
211
+ exist test/helpers
212
+
213
+ identical test/helpers/.keep
214
+
215
+ exist test/integration
216
+
217
+ identical test/integration/.keep
218
+
219
+ identical test/test_helper.rb
220
+
221
+ exist test/system
222
+
223
+ identical test/system/.keep
224
+
225
+ identical test/application_system_test_case.rb
226
+
227
+ exist storage
228
+
229
+ identical storage/.keep
230
+
231
+ exist tmp/storage
232
+
233
+ identical tmp/storage/.keep
234
+
235
+ remove config/initializers/cors.rb
236
+
237
+ remove config/initializers/new_framework_defaults_5_2.rb
238
+
239
+ run bundle install
240
+
241
+ The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
242
+
243
+ Fetching gem metadata from https://rubygems.org/.........
244
+
245
+ Fetching gem metadata from https://rubygems.org/.
246
+
247
+ Resolving dependencies...
248
+
249
+ Bundler could not find compatible versions for gem "activesupport":
250
+
251
+ In snapshot (Gemfile.lock):
252
+
253
+ activesupport (= 4.2.1)
254
+
255
+
256
+
257
+ In Gemfile:
258
+
259
+ rails (~> 5.2.1) was resolved to 5.2.1, which depends on
260
+
261
+ activesupport (= 5.2.1)
262
+
263
+
264
+
265
+ sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
266
+
267
+ railties (< 6, >= 4.0.0) was resolved to 4.2.1, which depends on
268
+
269
+ activesupport (= 4.2.1)
270
+
271
+
272
+
273
+ Running `bundle update` will rebuild your snapshot from scratch, using only
274
+
275
+ the gems in your Gemfile, which may resolve the conflict.
276
+
277
+ run bundle exec spring binstub --all
278
+
279
+ Could not find gem 'puma (~> 3.11)' in any of the gem sources listed in your Gemfile.
280
+
281
+ Run `bundle install` to install missing gems.
282
+
283
+ ```