質問編集履歴

2

bundleを行った時の実行結果

2019/03/16 17:24

投稿

Reiji
Reiji

スコア15

test CHANGED
File without changes
test CHANGED
@@ -1,5 +1,3 @@
1
- ### 発生している問題・エラーメッセージ
2
-
3
1
  rails sでサーバーが起動しません。
4
2
 
5
3
  「rails s」を行い、localhost:3000にアクセスした画面が以下です。
@@ -161,3 +159,175 @@
161
159
  gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
162
160
 
163
161
  ```
162
+
163
+
164
+
165
+ ###bundleを行った時の結果
166
+
167
+ ```
168
+
169
+ 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`.
170
+
171
+ Using rake 12.3.2
172
+
173
+ Using concurrent-ruby 1.1.5
174
+
175
+ Using i18n 1.6.0
176
+
177
+ Using minitest 5.11.3
178
+
179
+ Using thread_safe 0.3.6
180
+
181
+ Using tzinfo 1.2.5
182
+
183
+ Using activesupport 5.2.2.1
184
+
185
+ Using builder 3.2.3
186
+
187
+ Using erubi 1.8.0
188
+
189
+ Using mini_portile2 2.4.0
190
+
191
+ Using nokogiri 1.10.1
192
+
193
+ Using rails-dom-testing 2.0.3
194
+
195
+ Using crass 1.0.4
196
+
197
+ Using loofah 2.2.3
198
+
199
+ Using rails-html-sanitizer 1.0.4
200
+
201
+ Using actionview 5.2.2.1
202
+
203
+ Using rack 2.0.6
204
+
205
+ Using rack-test 1.1.0
206
+
207
+ Using actionpack 5.2.2.1
208
+
209
+ Using nio4r 2.3.1
210
+
211
+ Using websocket-extensions 0.1.3
212
+
213
+ Using websocket-driver 0.7.0
214
+
215
+ Using actioncable 5.2.2.1
216
+
217
+ Using globalid 0.4.2
218
+
219
+ Using activejob 5.2.2.1
220
+
221
+ Using mini_mime 1.0.1
222
+
223
+ Using mail 2.7.1
224
+
225
+ Using actionmailer 5.2.2.1
226
+
227
+ Using activemodel 5.2.2.1
228
+
229
+ Using arel 9.0.0
230
+
231
+ Using activerecord 5.2.2.1
232
+
233
+ Using mimemagic 0.3.3
234
+
235
+ Using marcel 0.3.3
236
+
237
+ Using activestorage 5.2.2.1
238
+
239
+ Using public_suffix 3.0.3
240
+
241
+ Using addressable 2.6.0
242
+
243
+ Using io-like 0.3.0
244
+
245
+ Using archive-zip 0.12.0
246
+
247
+ Using bindex 0.5.0
248
+
249
+ Using msgpack 1.2.9
250
+
251
+ Using bootsnap 1.4.1
252
+
253
+ Using bundler 1.17.2
254
+
255
+ Using byebug 11.0.0
256
+
257
+ Using regexp_parser 1.3.0
258
+
259
+ Using xpath 3.2.0
260
+
261
+ Using capybara 3.14.0
262
+
263
+ Using ffi 1.10.0
264
+
265
+ Using childprocess 0.9.0
266
+
267
+ Using chromedriver-helper 2.1.0
268
+
269
+ Using coffee-script-source 1.12.2
270
+
271
+ Using execjs 2.7.0
272
+
273
+ Using coffee-script 2.4.1
274
+
275
+ Using method_source 0.9.2
276
+
277
+ Using thor 0.20.3
278
+
279
+ Using railties 5.2.2.1
280
+
281
+ Using coffee-rails 4.2.2
282
+
283
+ Using multi_json 1.13.1
284
+
285
+ Using jbuilder 2.8.0
286
+
287
+ Using rb-fsevent 0.10.3
288
+
289
+ Using rb-inotify 0.10.0
290
+
291
+ Using ruby_dep 1.5.0
292
+
293
+ Using listen 3.1.5
294
+
295
+ Using puma 3.12.0
296
+
297
+ Using sprockets 3.7.2
298
+
299
+ Using sprockets-rails 3.2.1
300
+
301
+ Using rails 5.2.2.1
302
+
303
+ Using rubyzip 1.2.2
304
+
305
+ Using sass-listen 4.0.0
306
+
307
+ Using sass 3.7.3
308
+
309
+ Using tilt 2.0.9
310
+
311
+ Using sass-rails 5.0.7
312
+
313
+ Using selenium-webdriver 3.141.0
314
+
315
+ Using spring 2.0.2
316
+
317
+ Using spring-watcher-listen 2.0.1
318
+
319
+ Using sqlite3 1.4.0
320
+
321
+ Using turbolinks-source 5.2.0
322
+
323
+ Using turbolinks 5.2.0
324
+
325
+ Using uglifier 4.1.20
326
+
327
+ Using web-console 3.7.0
328
+
329
+ Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
330
+
331
+ Use `bundle info [gemname]` to see where a bundled gem is installed.
332
+
333
+ ```

1

Gemfileの内容を追記しました

2019/03/16 17:24

投稿

Reiji
Reiji

スコア15

test CHANGED
File without changes
test CHANGED
@@ -27,3 +27,137 @@
27
27
 
28
28
 
29
29
  上記にもありますが、gemfileを書き換えました。また、 https://qiita.com/Ago0727/items/325df5e39e3406fa16d2 にあるようにvagrantfileを書き換え、firewallも停止しました。ここ2,3日ほどいじっていますが、進展もなく、原因も解決策も全くわからない状態です。
30
+
31
+
32
+
33
+ ###Gemfileの内容
34
+
35
+
36
+
37
+ ```Ruby
38
+
39
+ source 'https://rubygems.org'
40
+
41
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
42
+
43
+
44
+
45
+ ruby '2.6.1'
46
+
47
+
48
+
49
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
50
+
51
+ gem 'rails', '~> 5.2.2'
52
+
53
+ # Use sqlite3 as the database for Active Record
54
+
55
+ gem 'sqlite3', '~> 1.3.6'
56
+
57
+ # Use Puma as the app server
58
+
59
+ gem 'puma', '~> 3.11'
60
+
61
+ # Use SCSS for stylesheets
62
+
63
+ gem 'sass-rails', '~> 5.0'
64
+
65
+ # Use Uglifier as compressor for JavaScript assets
66
+
67
+ gem 'uglifier', '>= 1.3.0'
68
+
69
+ # See https://github.com/rails/execjs#readme for more supported runtimes
70
+
71
+ # gem 'mini_racer', platforms: :ruby
72
+
73
+
74
+
75
+ # Use CoffeeScript for .coffee assets and views
76
+
77
+ gem 'coffee-rails', '~> 4.2'
78
+
79
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
80
+
81
+ gem 'turbolinks', '~> 5'
82
+
83
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
84
+
85
+ gem 'jbuilder', '~> 2.5'
86
+
87
+ # Use Redis adapter to run Action Cable in production
88
+
89
+ # gem 'redis', '~> 4.0'
90
+
91
+ # Use ActiveModel has_secure_password
92
+
93
+ # gem 'bcrypt', '~> 3.1.7'
94
+
95
+
96
+
97
+ # Use ActiveStorage variant
98
+
99
+ # gem 'mini_magick', '~> 4.8'
100
+
101
+
102
+
103
+ # Use Capistrano for deployment
104
+
105
+ # gem 'capistrano-rails', group: :development
106
+
107
+
108
+
109
+ # Reduces boot times through caching; required in config/boot.rb
110
+
111
+ gem 'bootsnap', '>= 1.1.0', require: false
112
+
113
+
114
+
115
+ group :development, :test do
116
+
117
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
118
+
119
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
120
+
121
+ end
122
+
123
+
124
+
125
+ group :development do
126
+
127
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
128
+
129
+ gem 'web-console', '>= 3.3.0'
130
+
131
+ gem 'listen', '>= 3.0.5', '< 3.2'
132
+
133
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
134
+
135
+ gem 'spring'
136
+
137
+ gem 'spring-watcher-listen', '~> 2.0.0'
138
+
139
+ end
140
+
141
+
142
+
143
+ group :test do
144
+
145
+ # Adds support for Capybara system testing and selenium driver
146
+
147
+ gem 'capybara', '>= 2.15'
148
+
149
+ gem 'selenium-webdriver'
150
+
151
+ # Easy installation and use of chromedriver to run system tests with Chrome
152
+
153
+ gem 'chromedriver-helper'
154
+
155
+ end
156
+
157
+
158
+
159
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
160
+
161
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
162
+
163
+ ```