質問するログイン新規登録

質問編集履歴

2

bundleを行った時の実行結果

2019/03/16 17:24

投稿

Reiji
Reiji

スコア15

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,3 @@
1
- ### 発生している問題・エラーメッセージ
2
1
  rails sでサーバーが起動しません。
3
2
  「rails s」を行い、localhost:3000にアクセスした画面が以下です。
4
3
  ![イメージ説明](ed26ecb15caa691eef7dc604b8d884c0.png)
@@ -79,4 +78,90 @@
79
78
 
80
79
  # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
81
80
  gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
81
+ ```
82
+
83
+ ###bundleを行った時の結果
84
+ ```
85
+ 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`.
86
+ Using rake 12.3.2
87
+ Using concurrent-ruby 1.1.5
88
+ Using i18n 1.6.0
89
+ Using minitest 5.11.3
90
+ Using thread_safe 0.3.6
91
+ Using tzinfo 1.2.5
92
+ Using activesupport 5.2.2.1
93
+ Using builder 3.2.3
94
+ Using erubi 1.8.0
95
+ Using mini_portile2 2.4.0
96
+ Using nokogiri 1.10.1
97
+ Using rails-dom-testing 2.0.3
98
+ Using crass 1.0.4
99
+ Using loofah 2.2.3
100
+ Using rails-html-sanitizer 1.0.4
101
+ Using actionview 5.2.2.1
102
+ Using rack 2.0.6
103
+ Using rack-test 1.1.0
104
+ Using actionpack 5.2.2.1
105
+ Using nio4r 2.3.1
106
+ Using websocket-extensions 0.1.3
107
+ Using websocket-driver 0.7.0
108
+ Using actioncable 5.2.2.1
109
+ Using globalid 0.4.2
110
+ Using activejob 5.2.2.1
111
+ Using mini_mime 1.0.1
112
+ Using mail 2.7.1
113
+ Using actionmailer 5.2.2.1
114
+ Using activemodel 5.2.2.1
115
+ Using arel 9.0.0
116
+ Using activerecord 5.2.2.1
117
+ Using mimemagic 0.3.3
118
+ Using marcel 0.3.3
119
+ Using activestorage 5.2.2.1
120
+ Using public_suffix 3.0.3
121
+ Using addressable 2.6.0
122
+ Using io-like 0.3.0
123
+ Using archive-zip 0.12.0
124
+ Using bindex 0.5.0
125
+ Using msgpack 1.2.9
126
+ Using bootsnap 1.4.1
127
+ Using bundler 1.17.2
128
+ Using byebug 11.0.0
129
+ Using regexp_parser 1.3.0
130
+ Using xpath 3.2.0
131
+ Using capybara 3.14.0
132
+ Using ffi 1.10.0
133
+ Using childprocess 0.9.0
134
+ Using chromedriver-helper 2.1.0
135
+ Using coffee-script-source 1.12.2
136
+ Using execjs 2.7.0
137
+ Using coffee-script 2.4.1
138
+ Using method_source 0.9.2
139
+ Using thor 0.20.3
140
+ Using railties 5.2.2.1
141
+ Using coffee-rails 4.2.2
142
+ Using multi_json 1.13.1
143
+ Using jbuilder 2.8.0
144
+ Using rb-fsevent 0.10.3
145
+ Using rb-inotify 0.10.0
146
+ Using ruby_dep 1.5.0
147
+ Using listen 3.1.5
148
+ Using puma 3.12.0
149
+ Using sprockets 3.7.2
150
+ Using sprockets-rails 3.2.1
151
+ Using rails 5.2.2.1
152
+ Using rubyzip 1.2.2
153
+ Using sass-listen 4.0.0
154
+ Using sass 3.7.3
155
+ Using tilt 2.0.9
156
+ Using sass-rails 5.0.7
157
+ Using selenium-webdriver 3.141.0
158
+ Using spring 2.0.2
159
+ Using spring-watcher-listen 2.0.1
160
+ Using sqlite3 1.4.0
161
+ Using turbolinks-source 5.2.0
162
+ Using turbolinks 5.2.0
163
+ Using uglifier 4.1.20
164
+ Using web-console 3.7.0
165
+ Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
166
+ Use `bundle info [gemname]` to see where a bundled gem is installed.
82
167
  ```

1

Gemfileの内容を追記しました

2019/03/16 17:24

投稿

Reiji
Reiji

スコア15

title CHANGED
File without changes
body CHANGED
@@ -12,4 +12,71 @@
12
12
 
13
13
  ### 試したこと
14
14
 
15
- 上記にもありますが、gemfileを書き換えました。また、 https://qiita.com/Ago0727/items/325df5e39e3406fa16d2 にあるようにvagrantfileを書き換え、firewallも停止しました。ここ2,3日ほどいじっていますが、進展もなく、原因も解決策も全くわからない状態です。
15
+ 上記にもありますが、gemfileを書き換えました。また、 https://qiita.com/Ago0727/items/325df5e39e3406fa16d2 にあるようにvagrantfileを書き換え、firewallも停止しました。ここ2,3日ほどいじっていますが、進展もなく、原因も解決策も全くわからない状態です。
16
+
17
+ ###Gemfileの内容
18
+
19
+ ```Ruby
20
+ source 'https://rubygems.org'
21
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
22
+
23
+ ruby '2.6.1'
24
+
25
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
26
+ gem 'rails', '~> 5.2.2'
27
+ # Use sqlite3 as the database for Active Record
28
+ gem 'sqlite3', '~> 1.3.6'
29
+ # Use Puma as the app server
30
+ gem 'puma', '~> 3.11'
31
+ # Use SCSS for stylesheets
32
+ gem 'sass-rails', '~> 5.0'
33
+ # Use Uglifier as compressor for JavaScript assets
34
+ gem 'uglifier', '>= 1.3.0'
35
+ # See https://github.com/rails/execjs#readme for more supported runtimes
36
+ # gem 'mini_racer', platforms: :ruby
37
+
38
+ # Use CoffeeScript for .coffee assets and views
39
+ gem 'coffee-rails', '~> 4.2'
40
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
41
+ gem 'turbolinks', '~> 5'
42
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
43
+ gem 'jbuilder', '~> 2.5'
44
+ # Use Redis adapter to run Action Cable in production
45
+ # gem 'redis', '~> 4.0'
46
+ # Use ActiveModel has_secure_password
47
+ # gem 'bcrypt', '~> 3.1.7'
48
+
49
+ # Use ActiveStorage variant
50
+ # gem 'mini_magick', '~> 4.8'
51
+
52
+ # Use Capistrano for deployment
53
+ # gem 'capistrano-rails', group: :development
54
+
55
+ # Reduces boot times through caching; required in config/boot.rb
56
+ gem 'bootsnap', '>= 1.1.0', require: false
57
+
58
+ group :development, :test do
59
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
60
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
61
+ end
62
+
63
+ group :development do
64
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
65
+ gem 'web-console', '>= 3.3.0'
66
+ gem 'listen', '>= 3.0.5', '< 3.2'
67
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
68
+ gem 'spring'
69
+ gem 'spring-watcher-listen', '~> 2.0.0'
70
+ end
71
+
72
+ group :test do
73
+ # Adds support for Capybara system testing and selenium driver
74
+ gem 'capybara', '>= 2.15'
75
+ gem 'selenium-webdriver'
76
+ # Easy installation and use of chromedriver to run system tests with Chrome
77
+ gem 'chromedriver-helper'
78
+ end
79
+
80
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
81
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
82
+ ```