質問編集履歴

2

試したことに追加

2019/07/18 08:10

投稿

Sayu_totoro
Sayu_totoro

スコア10

test CHANGED
File without changes
test CHANGED
@@ -302,7 +302,7 @@
302
302
 
303
303
  ファイルはあるじゃない! 同一のエラー内容で検索したところ、本番環境ではプリコンパイルが必要であるとありましたが、私はまだ開発段階(参考書では下準備)なので関係はないのかなと思いました。
304
304
 
305
-
305
+ [リンク内容](https://teratail.com/questions/186913?link=qa_related_pc)の記事で、私と同じエラーが掲載されていますが、具体的な解決方法に触れられていませんでした。
306
306
 
307
307
 
308
308
 

1

Gemfile を追加

2019/07/18 08:10

投稿

Sayu_totoro
Sayu_totoro

スコア10

test CHANGED
File without changes
test CHANGED
@@ -158,7 +158,143 @@
158
158
 
159
159
  ```
160
160
 
161
-
161
+ `Gemfile`
162
+
163
+ ```ここに言語を入力
164
+
165
+ source 'https://rubygems.org'
166
+
167
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
168
+
169
+
170
+
171
+ ruby '2.5.1'
172
+
173
+
174
+
175
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
176
+
177
+ gem 'rails', '~> 5.2.1'
178
+
179
+ # Use postgresql as the database for Active Record
180
+
181
+ gem 'pg', '>= 0.18', '< 2.0'
182
+
183
+ # Use Puma as the app server
184
+
185
+ gem 'puma', '~> 3.11'
186
+
187
+ # Use SCSS for stylesheets
188
+
189
+ gem 'sass-rails', '~> 5.0'
190
+
191
+ # Use Uglifier as compressor for JavaScript assets
192
+
193
+ gem 'uglifier', '>= 1.3.0'
194
+
195
+ # See https://github.com/rails/execjs#readme for more supported runtimes
196
+
197
+ # gem 'mini_racer', platforms: :ruby
198
+
199
+
200
+
201
+ # Use CoffeeScript for .coffee assets and views
202
+
203
+ gem 'coffee-rails', '~> 4.2'
204
+
205
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
206
+
207
+ gem 'turbolinks', '~> 5'
208
+
209
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
210
+
211
+ gem 'jbuilder', '~> 2.5'
212
+
213
+ # Use Redis adapter to run Action Cable in production
214
+
215
+ # gem 'redis', '~> 4.0'
216
+
217
+ # Use ActiveModel has_secure_password
218
+
219
+ # gem 'bcrypt', '~> 3.1.7'
220
+
221
+
222
+
223
+ # Use ActiveStorage variant
224
+
225
+ # gem 'mini_magick', '~> 4.8'
226
+
227
+
228
+
229
+ # Use Capistrano for deployment
230
+
231
+ # gem 'capistrano-rails', group: :development
232
+
233
+
234
+
235
+ # Reduces boot times through caching; required in config/boot.rb
236
+
237
+ gem 'bootsnap', '>= 1.1.0', require: false
238
+
239
+
240
+
241
+ group :development, :test do
242
+
243
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
244
+
245
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
246
+
247
+ end
248
+
249
+
250
+
251
+ group :development do
252
+
253
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
254
+
255
+ gem 'web-console', '>= 3.3.0'
256
+
257
+ gem 'listen', '>= 3.0.5', '< 3.2'
258
+
259
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
260
+
261
+ gem 'spring'
262
+
263
+ gem 'spring-watcher-listen', '~> 2.0.0'
264
+
265
+ end
266
+
267
+
268
+
269
+ group :test do
270
+
271
+ # Adds support for Capybara system testing and selenium driver
272
+
273
+ gem 'capybara', '>= 2.15'
274
+
275
+ gem 'selenium-webdriver'
276
+
277
+ # Easy installation and use of chromedriver to run system tests with Chrome
278
+
279
+ gem 'chromedriver-helper'
280
+
281
+ end
282
+
283
+
284
+
285
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
286
+
287
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
288
+
289
+ gem 'slim-rails'
290
+
291
+ gem 'html2slim'
292
+
293
+ gem 'bootstrap'
294
+
295
+
296
+
297
+ ```
162
298
 
163
299
  ### 試したこと
164
300