質問編集履歴
3
文字をコピペできるようにした harigamiで投稿
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,9 +7,10 @@
|
|
7
7
|
・ bundler version 1.17.3
|
8
8
|
|
9
9
|
RailsアプリをHerokuにデプロイしたあと、ApplicationErrorが出てしまい、その命令どうりに heroku logs --tail を実行しました。そしたら、たくさんの文字が出てることがわかりました。
|
10
|
-
入りきらないので画像張っておきます。
|
11
10
|
|
11
|
+
[heroku logs --tailした結果(表示された文字)](https://harigami.jp/cd?hsh=cd790797-1226-442c-9dba-9ffe6711106e)
|
12
|
-
|
12
|
+
↓ heroku logs --tailした結果(写真)
|
13
|
+
|
13
14
|

|
14
15
|

|
15
16
|

|
2
エラーじゃなく文字に修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
・ npm version 5.6.0
|
7
7
|
・ bundler version 1.17.3
|
8
8
|
|
9
|
-
RailsアプリをHerokuにデプロイしたあと、ApplicationErrorが出てしまい、その命令どうりに heroku logs --tail を実行しました。そしたら、たくさんの
|
9
|
+
RailsアプリをHerokuにデプロイしたあと、ApplicationErrorが出てしまい、その命令どうりに heroku logs --tail を実行しました。そしたら、たくさんの文字が出てることがわかりました。
|
10
10
|
入りきらないので画像張っておきます。
|
11
11
|
|
12
12
|
⇃heroku logs --tailした結果
|
1
説明を増やした
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
・ ruby 2.6.0
|
3
3
|
・ herokuアプリ名asobisarchapp
|
4
4
|
・ herokuはnpmを使用してインストール
|
5
|
+
・ node.js version 8.11.1
|
6
|
+
・ npm version 5.6.0
|
7
|
+
・ bundler version 1.17.3
|
5
8
|
|
6
9
|
RailsアプリをHerokuにデプロイしたあと、ApplicationErrorが出てしまい、その命令どうりに heroku logs --tail を実行しました。そしたら、たくさんのエラーが出てることがわかりました。
|
7
10
|
入りきらないので画像張っておきます。
|
@@ -11,5 +14,96 @@
|
|
11
14
|

|
12
15
|

|
13
16
|
|
17
|
+
Gemfile
|
18
|
+
|
19
|
+
```
|
20
|
+
source 'https://rubygems.org'
|
21
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
22
|
+
|
23
|
+
ruby '2.6.0'
|
24
|
+
|
25
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
26
|
+
gem 'rails', '~> 5.2.4.1'
|
27
|
+
gem 'pg', '< 1.0.0', group: :production
|
28
|
+
# Use sqlite3 as the database for Active Record
|
29
|
+
# gem 'sqlite3'
|
30
|
+
gem 'mysql2', group: :development
|
31
|
+
# Use Puma as the app server
|
32
|
+
gem 'puma', '~> 3.11'
|
33
|
+
# Use SCSS for stylesheets
|
34
|
+
gem 'sass-rails', '~> 5.0'
|
35
|
+
# Use Uglifier as compressor for JavaScript assets
|
36
|
+
gem 'uglifier', '>= 1.3.0'
|
37
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
38
|
+
# gem 'mini_racer', platforms: :ruby
|
39
|
+
|
40
|
+
# Use CoffeeScript for .coffee assets and views
|
41
|
+
#gem 'coffee-rails', '~> 4.2'
|
42
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
43
|
+
#gem 'turbolinks', '~> 5'
|
44
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
45
|
+
gem 'jbuilder', '~> 2.5'
|
46
|
+
# Use Redis adapter to run Action Cable in production
|
47
|
+
# gem 'redis', '~> 4.0'
|
48
|
+
# Use ActiveModel has_secure_password
|
49
|
+
# gem 'bcrypt', '~> 3.1.7'
|
50
|
+
|
51
|
+
# Use ActiveStorage variant
|
52
|
+
# gem 'mini_magick', '~> 4.8'
|
53
|
+
|
54
|
+
# Use Capistrano for deployment
|
55
|
+
# gem 'capistrano-rails', group: :development
|
56
|
+
|
57
|
+
# Reduces boot times through caching; required in config/boot.rb
|
58
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
59
|
+
|
60
|
+
group :development, :test do
|
61
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
62
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
63
|
+
end
|
64
|
+
|
65
|
+
group :development do
|
66
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
67
|
+
gem 'web-console', '>= 3.3.0'
|
68
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
69
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
70
|
+
gem 'spring'
|
71
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
72
|
+
end
|
73
|
+
|
74
|
+
group :test do
|
75
|
+
# Adds support for Capybara system testing and selenium driver
|
76
|
+
gem 'capybara', '>= 2.15'
|
77
|
+
gem 'selenium-webdriver'
|
78
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
79
|
+
gem 'chromedriver-helper'
|
80
|
+
end
|
81
|
+
|
82
|
+
group :development do
|
83
|
+
gem 'letter_opener_web'
|
84
|
+
end
|
85
|
+
|
86
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
87
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
88
|
+
gem 'devise'
|
89
|
+
gem 'carrierwave'
|
90
|
+
#gem 'rmagick'
|
91
|
+
gem 'rails-i18n', '~> 5.1'
|
92
|
+
gem 'dotenv-rails'
|
93
|
+
gem 'ransack'
|
94
|
+
gem 'will_paginate'
|
95
|
+
gem 'bootstrap-will_paginate'
|
96
|
+
gem 'impressionist'
|
97
|
+
gem 'ratyrate'
|
98
|
+
gem 'jquery-rails'
|
99
|
+
gem 'jquery-ui-rails'
|
100
|
+
gem 'rinku'
|
101
|
+
gem 'acts-as-taggable-on', '~> 6.0'
|
102
|
+
gem 'pry-rails'
|
103
|
+
gem 'kaminari'
|
104
|
+
gem 'rails_12factor', group: :production
|
105
|
+
|
106
|
+
```
|
107
|
+
|
14
108
|
ググってもわかりませんでした。。
|
15
109
|
お願いします。助けてください。
|