質問編集履歴

1

環境構築のアプリ作成からbundlerのインストールについて変えました

2018/09/02 07:32

投稿

kiki142
kiki142

スコア13

test CHANGED
@@ -1 +1 @@
1
- Ruby on Railsの環境構築についてターミナルでアプリ作成のためにrails new sample_app実行するとこのようなエラー?が出ます
1
+ Ruby on Railsの環境構築についてターミナルでgem install bundler打つとこのような文字が出ます
test CHANGED
@@ -1,287 +1,13 @@
1
- ```ここに言語を入力 exist
1
+ ```ここに言語を入力Successfully installed bundler-1.16.4
2
2
 
3
- identical README.md
3
+ Parsing documentation for bundler-1.16.4
4
4
 
5
- identical Rakefile
5
+ Done installing documentation for bundler after 3 seconds
6
6
 
7
- identical .ruby-version
8
-
9
- identical config.ru
10
-
11
- conflict .gitignore
12
-
13
- Overwrite /Users//sample_app/.gitignore? (enter "h" for help) [Ynaqdh]
14
-
15
- force .gitignore
7
+ 1 gem installed
16
-
17
- identical Gemfile
18
-
19
- run git init from "."
20
8
 
21
9
 
22
10
 
23
-
24
-
25
-
26
-
27
- Reinitialized existing Git repository in /Users//sample_app/.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
- append .gitignore
138
-
139
- identical config/boot.rb
140
-
141
- identical config/database.yml
142
-
143
- exist db
144
-
145
- identical db/seeds.rb
146
-
147
- exist lib
148
-
149
- exist lib/tasks
150
-
151
- identical lib/tasks/.keep
152
-
153
- exist lib/assets
154
-
155
- identical lib/assets/.keep
156
-
157
- exist log
158
-
159
- identical log/.keep
160
-
161
- exist public
162
-
163
- identical public/404.html
164
-
165
- identical public/422.html
166
-
167
- identical public/500.html
168
-
169
- identical public/apple-touch-icon-precomposed.png
170
-
171
- identical public/apple-touch-icon.png
172
-
173
- identical public/favicon.ico
174
-
175
- identical public/robots.txt
176
-
177
- exist tmp
178
-
179
- identical tmp/.keep
180
-
181
- exist tmp/cache
182
-
183
- exist tmp/cache/assets
184
-
185
- exist vendor
186
-
187
- identical vendor/.keep
188
-
189
- exist test/fixtures
190
-
191
- identical test/fixtures/.keep
192
-
193
- exist test/fixtures/files
194
-
195
- identical test/fixtures/files/.keep
196
-
197
- exist test/controllers
198
-
199
- identical test/controllers/.keep
200
-
201
- exist test/mailers
202
-
203
- identical test/mailers/.keep
204
-
205
- exist test/models
206
-
207
- identical test/models/.keep
208
-
209
- exist test/helpers
210
-
211
- identical test/helpers/.keep
212
-
213
- exist test/integration
214
-
215
- identical test/integration/.keep
216
-
217
- identical test/test_helper.rb
218
-
219
- exist test/system
220
-
221
- identical test/system/.keep
222
-
223
- identical test/application_system_test_case.rb
224
-
225
- exist storage
226
-
227
- identical storage/.keep
228
-
229
- exist tmp/storage
230
-
231
- identical tmp/storage/.keep
232
-
233
- remove config/initializers/cors.rb
234
-
235
- remove config/initializers/new_framework_defaults_5_2.rb
236
-
237
- run bundle install
238
-
239
- 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`.
240
-
241
-
242
-
243
- Fetching gem metadata from https://rubygems.org/..
244
-
245
- .......
246
-
247
- Fetching gem metadata from https://rubygems.org/.
248
-
249
- Resolving dependencies...
250
-
251
- Bundler could not find compatible versions for gem "activesupport":
252
-
253
- In snapshot (Gemfile.lock):
254
-
255
- activesupport (= 4.2.1)
256
-
257
-
258
-
259
- In Gemfile:
260
-
261
- rails (~> 5.2.1) was resolved to 5.2.1, which depends on
262
-
263
- activesupport (= 5.2.1)
264
-
265
-
266
-
267
- sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
268
-
269
- railties (< 6, >= 4.0.0) was resolved to 4.2.1, which depends on
270
-
271
- activesupport (= 4.2.1)
272
-
273
-
274
-
275
- Running `bundle update` will rebuild your snapshot from scratch, using only
276
-
277
- the gems in your Gemfile, which may resolve the conflict.
278
-
279
- run bundle exec spring binstub --all
280
-
281
- Could not find gem 'puma (~> 3.11)' in any of the gem sources listed in your Gemfile.
282
-
283
- Run `bundle install` to install missing gems.
284
-
285
11
  コード
286
12
 
287
- ```申し訳ありせんがどうればいいのか教えていたるとありがたいです
13
+ ```ターミナルでgem install bundlerと打つとこのような文字が出ます教えてるとありがたいです