質問編集履歴

2

追記

2019/11/05 08:59

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -44,6 +44,10 @@
44
44
 
45
45
 
46
46
 
47
+ ruby '2.6.3'
48
+
49
+
50
+
47
51
  git_source(:github) do |repo_name|
48
52
 
49
53
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")

1

追記

2019/11/05 08:59

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,249 @@
29
29
 
30
30
 
31
31
  上記のようなことをしたのですが一向に解決せず、大変困っております。もし解決法をご存知の方がいらっしゃいましたら教えていただきたいです。
32
+
33
+
34
+
35
+
36
+
37
+ ## 追記
38
+
39
+ ### Gemfile
40
+
41
+ ```rb
42
+
43
+ source 'https://rubygems.org'
44
+
45
+
46
+
47
+ git_source(:github) do |repo_name|
48
+
49
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
50
+
51
+ "https://github.com/#{repo_name}.git"
52
+
53
+ end
54
+
55
+
56
+
57
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
58
+
59
+
60
+
61
+ gem 'rails', '6.0.0'
62
+
63
+ gem 'bcrypt'
64
+
65
+ # Use Puma as the app server
66
+
67
+ gem 'puma', '~> 4.2'
68
+
69
+ # Use SCSS for stylesheets
70
+
71
+ gem 'sass-rails', '~> 6.0'
72
+
73
+ # Use Uglifier as compressor for JavaScript assets
74
+
75
+ gem 'uglifier', '>= 1.3.0'
76
+
77
+ # See https://github.com/rails/execjs#readme for more supported runtimes
78
+
79
+ # gem 'therubyracer', platforms: :ruby
80
+
81
+ # Use CoffeeScript for .coffee assets and views
82
+
83
+ gem 'coffee-rails', '~> 5.0'
84
+
85
+ gem 'jquery-rails'
86
+
87
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
88
+
89
+ gem 'turbolinks', '~> 5'
90
+
91
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
92
+
93
+ gem 'jbuilder', '~> 2.5'
94
+
95
+ gem 'rails-i18n'
96
+
97
+ gem 'seed-fu'
98
+
99
+ gem 'sidekiq'
100
+
101
+
102
+
103
+ gem 'slack-notifier'
104
+
105
+
106
+
107
+ gem 'omniauth'
108
+
109
+ gem 'omniauth-twitter'
110
+
111
+ gem 'omniauth-facebook'
112
+
113
+
114
+
115
+ gem 'carrierwave'
116
+
117
+ gem 'rmagick'
118
+
119
+
120
+
121
+ gem 'slim-rails'
122
+
123
+
124
+
125
+ gem 'dotenv-rails', require: 'dotenv/rails-now'
126
+
127
+
128
+
129
+ gem 'geocoder'
130
+
131
+ gem 'gmaps4rails'
132
+
133
+
134
+
135
+ gem 'rack-rewrite'
136
+
137
+
138
+
139
+ gem 'counter_culture'
140
+
141
+
142
+
143
+ # Use Redis adapter to run Action Cable in production
144
+
145
+ # gem 'redis', '~> 4.0'
146
+
147
+ # Use ActiveModel has_secure_password
148
+
149
+ # gem 'bcrypt', '~> 3.1.7'
150
+
151
+
152
+
153
+ # Use Capistrano for deployment
154
+
155
+ # gem 'capistrano-rails', group: :development
156
+
157
+
158
+
159
+ group :development, :test do
160
+
161
+ # Use sqlite3 as the database for Active Record
162
+
163
+ gem 'sqlite3'
164
+
165
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
166
+
167
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
168
+
169
+ # Adds support for Capybara system testing and selenium driver
170
+
171
+ gem 'capybara', '~> 3.29'
172
+
173
+ gem 'launchy'
174
+
175
+ gem 'selenium-webdriver'
176
+
177
+ gem 'rails-erd'
178
+
179
+ gem 'pry-rails'
180
+
181
+ gem 'pry-byebug'
182
+
183
+ gem 'pry-doc'
184
+
185
+ gem 'hirb'
186
+
187
+ gem 'hirb-unicode'
188
+
189
+
190
+
191
+ gem 'rspec-rails'
192
+
193
+ gem 'factory_bot_rails'
194
+
195
+ gem 'rails-controller-testing'
196
+
197
+ gem 'spring-commands-rspec'
198
+
199
+ gem 'rspec_junit_formatter'
200
+
201
+ gem 'shoulda-matchers'
202
+
203
+ gem 'database_cleaner'
204
+
205
+
206
+
207
+ gem 'rack-mini-profiler', require: false
208
+
209
+ gem 'bullet'
210
+
211
+ end
212
+
213
+
214
+
215
+ group :development do
216
+
217
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
218
+
219
+ gem 'web-console', '>= 3.3.0'
220
+
221
+ gem 'listen', '>= 3.0.5', '< 3.3'
222
+
223
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
224
+
225
+ gem 'spring'
226
+
227
+ gem 'spring-watcher-listen', '~> 2.0.0'
228
+
229
+ end
230
+
231
+
232
+
233
+ group :test do
234
+
235
+ gem 'minitest-reporters', '1.4.2'
236
+
237
+ gem 'guard', '2.16.1'
238
+
239
+ gem 'guard-minitest', '2.4.6'
240
+
241
+ end
242
+
243
+
244
+
245
+ group :production do
246
+
247
+ gem 'pg', '1.1.4'
248
+
249
+ gem 'fog', '2.2.0'
250
+
251
+ end
252
+
253
+
254
+
255
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
256
+
257
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
258
+
259
+ ```
260
+
261
+
262
+
263
+ ### heroku logs
264
+
265
+ ```rb
266
+
267
+ 2019-11-05T06:42:55.332884+00:00 heroku[web.1]: Restarting
268
+
269
+ 2019-11-05T06:42:55.543395+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
270
+
271
+ 2019-11-05T06:42:55.665995+00:00 app[web.1]: /usr/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem bundler (>= 0) (Gem::GemNotFoundException)
272
+
273
+ 2019-11-05T06:42:55.666069+00:00 app[web.1]: from /app/bin/bundle:3:in `<main>'
274
+
275
+ 2019-11-05T06:42:55.734193+00:00 heroku[web.1]: Process exited with status 1
276
+
277
+ ```