質問編集履歴

5

追記

2017/10/20 09:29

投稿

renren643
renren643

スコア279

test CHANGED
File without changes
test CHANGED
@@ -156,6 +156,70 @@
156
156
 
157
157
  ```ここに言語を入力
158
158
 
159
- An error occurred while installing ruby-2.1.1
159
+ remote: Compressing source files... done.
160
+
161
+ remote: Building source:
162
+
163
+ remote:
164
+
165
+ remote: -----> Ruby app detected
166
+
167
+ remote: -----> Compiling Ruby/Rails
168
+
169
+ remote: Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.1.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
170
+
171
+ remote: Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.1.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
172
+
173
+ remote: !
174
+
175
+ remote: ! An error occurred while installing ruby-2.1.1
176
+
177
+ remote: !
178
+
179
+ remote: ! Heroku recommends you use the latest supported Ruby version listed here:
180
+
181
+ remote: ! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
182
+
183
+ remote: !
184
+
185
+ remote: ! For more information on syntax for declaring a Ruby version see:
186
+
187
+ remote: ! https://devcenter.heroku.com/articles/ruby-versions
188
+
189
+ remote: !
190
+
191
+ remote: !
192
+
193
+ remote: ! Debug InformationCommand: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.1.tgz -s -o - | tar zxf - ' failed unexpectedly:
194
+
195
+ remote: !
196
+
197
+ remote: ! gzip: stdin: unexpected end of file
198
+
199
+ remote: ! tar: Child returned status 1
200
+
201
+ remote: ! tar: Error is not recoverable: exiting now
202
+
203
+ remote: !
204
+
205
+ remote: ! Push rejected, failed to compile Ruby app.
206
+
207
+ remote:
208
+
209
+ remote: ! Push failed
210
+
211
+ remote: Verifying deploy...
212
+
213
+ remote:
214
+
215
+ remote: ! Push rejected to lit-reef-34885.
216
+
217
+ remote:
218
+
219
+ To https://git.heroku.com/lit-reef-34885.git
220
+
221
+ ! [remote rejected] master -> master (pre-receive hook declined)
222
+
223
+ error: failed to push some refs to 'https://git.heroku.com/lit-reef-34885.git'
160
224
 
161
225
  ```

4

追記

2017/10/20 09:29

投稿

renren643
renren643

スコア279

test CHANGED
File without changes
test CHANGED
@@ -150,14 +150,12 @@
150
150
 
151
151
  最後にエラーが出ているのが何かネックになっているのでしょうか?
152
152
 
153
+ --------------------------
153
154
 
155
+ rubyのインストールにエラーが出ているようです。
154
156
 
155
157
  ```ここに言語を入力
156
158
 
157
- heroku create
158
-
159
- Creating app... done, sleepy-plains-71200
159
+ An error occurred while installing ruby-2.1.1
160
-
161
- https://sleepy-plains-71200.herokuapp.com/ | https://git.heroku.com/sleepy-plains-71200.git
162
160
 
163
161
  ```

3

追記

2017/10/20 09:26

投稿

renren643
renren643

スコア279

test CHANGED
File without changes
test CHANGED
@@ -149,3 +149,15 @@
149
149
  以上のような手順でやりました。
150
150
 
151
151
  最後にエラーが出ているのが何かネックになっているのでしょうか?
152
+
153
+
154
+
155
+ ```ここに言語を入力
156
+
157
+ heroku create
158
+
159
+ Creating app... done, ⬢ sleepy-plains-71200
160
+
161
+ https://sleepy-plains-71200.herokuapp.com/ | https://git.heroku.com/sleepy-plains-71200.git
162
+
163
+ ```

2

追記

2017/10/20 08:30

投稿

renren643
renren643

スコア279

test CHANGED
File without changes
test CHANGED
@@ -73,3 +73,79 @@
73
73
  end
74
74
 
75
75
  ```
76
+
77
+ ```ここに言語を入力
78
+
79
+ $ heroku login
80
+
81
+ $git init
82
+
83
+ Initialized empty Git repository in /home/ubuntu/workspace/pic_posts_c17/.git/
84
+
85
+ $ git add .
86
+
87
+ $ git commit -m "Add Heroku App"
88
+
89
+ [master (root-commit) 518e910] Add Heroku App
90
+
91
+ 143 files changed, 3410 insertions(+)
92
+
93
+ create mode 100644 .gitignore
94
+
95
+ :
96
+
97
+ :
98
+
99
+ :
100
+
101
+ :
102
+
103
+ :
104
+
105
+ $heroku create
106
+
107
+ Creating app... done, ⬢ fierce-ravine-68888
108
+
109
+ https://fierce-ravine-68888.herokuapp.com/ | https://git.heroku.com/fierce-ravine-68888.git
110
+
111
+ $git push heroku master
112
+
113
+ Counting objects: 182, done.
114
+
115
+ Delta compression using up to 8 threads.
116
+
117
+ Compressing objects: 100% (165/165), done.
118
+
119
+ Writing objects: 100% (182/182), 497.03 KiB | 14.62 MiB/s, done.
120
+
121
+ Total 182 (delta 16), reused 0 (delta 0)
122
+
123
+ remote: Compressing source files... done.
124
+
125
+ remote: Building source:
126
+
127
+ remote:
128
+
129
+ remote: -----> Ruby app detected
130
+
131
+ :
132
+
133
+ :
134
+
135
+ :
136
+
137
+ :
138
+
139
+ :
140
+
141
+ To https://git.heroku.com/fierce-ravine-68888.git
142
+
143
+ ! [remote rejected] master -> master (pre-receive hook declined)
144
+
145
+ error: failed to push some refs to 'https://git.heroku.com/fierce-ravine-68888.git'
146
+
147
+ ```
148
+
149
+ 以上のような手順でやりました。
150
+
151
+ 最後にエラーが出ているのが何かネックになっているのでしょうか?

1

追記

2017/10/20 01:01

投稿

renren643
renren643

スコア279

test CHANGED
File without changes
test CHANGED
File without changes