質問編集履歴

1

ソースコード修正

2020/02/28 02:38

投稿

tak_tak_tak
tak_tak_tak

スコア11

test CHANGED
@@ -1 +1 @@
1
- Railsチュートリアル1章Herokuデプロイにつ
1
+ Railsチュートリアル1章Herokuデプロイできな
test CHANGED
@@ -14,9 +14,7 @@
14
14
 
15
15
  Heroku | Welcome to your new app!と表示されます。
16
16
 
17
- git push heroku masterをコマンドした再に下記のエラーが表示されましたが
17
+
18
-
19
- 関係あるのでしょうか?
20
18
 
21
19
 
22
20
 
@@ -32,6 +30,166 @@
32
30
 
33
31
  ソースコード
34
32
 
33
+
34
+
35
+
36
+
37
+
38
+
39
+ remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
40
+
41
+ remote:
42
+
43
+ remote: current directory:
44
+
45
+ remote: /tmp/build_78d5ab0adc0d2024f709fe1a14ecbd52/vendor/bundle/ruby/2.5.0/gems/sqlite3-1.4.2/ext/sqlite3
46
+
47
+ remote: /tmp/build_78d5ab0adc0d2024f709fe1a14ecbd52/vendor/ruby-2.5.7/bin/ruby -r
48
+
49
+ remote: ./siteconf20200228-280-1fu6kdv.rb extconf.rb
50
+
51
+ remote: checking for sqlite3.h... no
52
+
53
+ remote: sqlite3.h is missing. Try 'brew install sqlite3',
54
+
55
+ remote: 'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
56
+
57
+ remote: and check your shared library search path (the
58
+
59
+ remote: location where your sqlite3 shared library is located).
60
+
61
+ remote: *** extconf.rb failed ***
62
+
63
+ remote: Could not create Makefile due to some reason, probably lack of necessary
64
+
65
+ remote: libraries and/or headers. Check the mkmf.log file for more details. You may
66
+
67
+ remote: need configuration options.
68
+
69
+ remote:
70
+
71
+ remote: Provided configuration options:
72
+
73
+ remote: --with-opt-dir
74
+
75
+ remote: --without-opt-dir
76
+
77
+ remote: --with-opt-include
78
+
79
+ remote: --without-opt-include=${opt-dir}/include
80
+
81
+ remote: --with-opt-lib
82
+
83
+ remote: --without-opt-lib=${opt-dir}/lib
84
+
85
+ remote: --with-make-prog
86
+
87
+ remote: --without-make-prog
88
+
89
+ remote: --srcdir=.
90
+
91
+ remote: --curdir
92
+
93
+ remote: --ruby=/tmp/build_78d5ab0adc0d2024f709fe1a14ecbd52/vendor/ruby-2.5.7/bin/$(RUBY_BASE_NAME)
94
+
95
+ remote: --with-sqlcipher
96
+
97
+ remote: --without-sqlcipher
98
+
99
+ remote: --with-sqlite3-config
100
+
101
+ remote: --without-sqlite3-config
102
+
103
+ remote: --with-pkg-config
104
+
105
+ remote: --without-pkg-config
106
+
107
+ remote: --with-sqlcipher
108
+
109
+ remote: --without-sqlcipher
110
+
111
+ remote: --with-sqlite3-dir
112
+
113
+ remote: --without-sqlite3-dir
114
+
115
+ remote: --with-sqlite3-include
116
+
117
+ remote: --without-sqlite3-include=${sqlite3-dir}/include
118
+
119
+ remote: --with-sqlite3-lib
120
+
121
+ remote: --without-sqlite3-lib=${sqlite3-dir}/lib
122
+
123
+ remote:
124
+
125
+ remote: To see why this extension failed to compile, please check the mkmf.log which can
126
+
127
+ remote: be found here:
128
+
129
+ remote:
130
+
131
+ remote: /tmp/build_78d5ab0adc0d2024f709fe1a14ecbd52/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.4.2/mkmf.log
132
+
133
+ remote:
134
+
135
+ remote: extconf failed, exit code 1
136
+
137
+ remote:
138
+
139
+ remote: Gem files will remain installed in
140
+
141
+ remote: /tmp/build_78d5ab0adc0d2024f709fe1a14ecbd52/vendor/bundle/ruby/2.5.0/gems/sqlite3-1.4.2
142
+
143
+ remote: for inspection.
144
+
145
+ remote: Results logged to
146
+
147
+ remote: /tmp/build_78d5ab0adc0d2024f709fe1a14ecbd52/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.4.2/gem_make.out
148
+
149
+ remote:
150
+
151
+ remote: An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue.
152
+
153
+ remote: Make sure that `gem install sqlite3 -v '1.4.2' --source 'https://rubygems.org/'`
154
+
155
+ remote: succeeds before bundling.
156
+
157
+ remote:
158
+
159
+ remote: In Gemfile:
160
+
161
+ remote: sqlite3
162
+
163
+ remote:
164
+
165
+ remote: !
166
+
167
+ remote: ! Failed to install gems via Bundler.
168
+
169
+ remote: ! Detected sqlite3 gem which is not supported on Heroku:
170
+
171
+ remote: ! https://devcenter.heroku.com/articles/sqlite3
172
+
173
+ remote: !
174
+
175
+ remote: ! Push rejected, failed to compile Ruby app.
176
+
177
+ remote:
178
+
179
+ remote: ! Push failed
180
+
181
+ remote: Verifying deploy...
182
+
183
+ remote:
184
+
185
+ remote: ! Push rejected to lit-caverns-45870.
186
+
187
+ remote:
188
+
189
+ To https://git.heroku.com/lit-caverns-45870.git
190
+
191
+ ! [remote rejected] master -> master (pre-receive hook declined)
192
+
35
193
  error: failed to push some refs to 'https://git.heroku.com/lit-caverns-45870.git'
36
194
 
37
195
 
@@ -40,16 +198,6 @@
40
198
 
41
199
 
42
200
 
43
- ### 試したこと
44
-
45
-
46
-
47
- ここに問題に対して試したことを記載してください。
48
-
49
-
50
-
51
- ### 補足情報(FW/ツールのバージョンなど)
52
-
53
201
 
54
202
 
55
203
  ここにより詳細な情報を記載してください。