質問編集履歴

2

エラー文の追加

2020/11/27 16:12

投稿

takasu0130
takasu0130

スコア2

test CHANGED
File without changes
test CHANGED
@@ -48,6 +48,36 @@
48
48
 
49
49
  となっているので、bundleのバージョンは2.1.4になってると思うのですが‥‥
50
50
 
51
+ エラー文
52
+
53
+ ```
54
+
55
+ remote: !
56
+
57
+ remote: ! Could not detect rake tasks
58
+
59
+ remote: ! ensure you can run `$ bundle exec rake -P` against your app
60
+
61
+ remote: ! and using the production group of your Gemfile.
62
+
63
+ remote: ! Activating bundler (2.1.4) failed:
64
+
65
+ remote: ! Could not find 'bundler' (2.1.4) required by your /tmp/build_7b10b0f3/Gemfile.lock.
66
+
67
+ remote: ! To update to the latest version installed on your system, run `bundle update --bundler`.
68
+
69
+ remote: ! To install the missing version, run `gem install bundler:2.1.4`
70
+
71
+ remote: ! Checked in 'GEM_PATH=/tmp/build_7b10b0f3/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
72
+
73
+ remote: !
74
+
75
+ remote: ! To install the version of bundler this project requires, run `gem install bundler -v '2.1.4'`
76
+
77
+ remote: !
78
+
79
+ ```
80
+
51
81
 
52
82
 
53
83
 

1

Gemfileの追加

2020/11/27 16:12

投稿

takasu0130
takasu0130

スコア2

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- $ git push heroku master
1
+ $ git push heroku main
2
2
 
3
3
  でプッシュしようとしても、しばらくロードした後、
4
4
 
@@ -47,3 +47,141 @@
47
47
  2.1.4
48
48
 
49
49
  となっているので、bundleのバージョンは2.1.4になってると思うのですが‥‥
50
+
51
+
52
+
53
+
54
+
55
+ ```Gemfile
56
+
57
+ source 'https://rubygems.org'
58
+
59
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
60
+
61
+
62
+
63
+ ruby '2.6.3'
64
+
65
+
66
+
67
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
68
+
69
+ gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
70
+
71
+ # Use sqlite3 as the database for Active Record
72
+
73
+ gem 'pg', '0.17.1'
74
+
75
+ # Use Puma as the app server
76
+
77
+ gem 'puma', '~> 4.1'
78
+
79
+ # Use SCSS for stylesheets
80
+
81
+ gem 'sass-rails', '>= 6'
82
+
83
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
84
+
85
+ gem 'webpacker', '~> 4.0'
86
+
87
+
88
+
89
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
90
+
91
+ gem 'turbolinks', '~> 5'
92
+
93
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
94
+
95
+ gem 'jbuilder', '~> 2.7'
96
+
97
+ # Use Redis adapter to run Action Cable in production
98
+
99
+ # gem 'redis', '~> 4.0'
100
+
101
+ # Use Active Model has_secure_password
102
+
103
+ # gem 'bcrypt', '~> 3.1.7'
104
+
105
+
106
+
107
+ # Use Active Storage variant
108
+
109
+ # gem 'image_processing', '~> 1.2'
110
+
111
+
112
+
113
+ # Reduces boot times through caching; required in config/boot.rb
114
+
115
+ gem 'bootsnap', '>= 1.4.2', require: false
116
+
117
+
118
+
119
+ group :development, :test do
120
+
121
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
122
+
123
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
124
+
125
+ end
126
+
127
+
128
+
129
+ group :development do
130
+
131
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
132
+
133
+ gem 'web-console', '>= 3.3.0'
134
+
135
+ gem 'listen', '~> 3.2'
136
+
137
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
138
+
139
+ gem 'spring'
140
+
141
+ gem 'spring-watcher-listen', '~> 2.0.0'
142
+
143
+ end
144
+
145
+
146
+
147
+ group :test do
148
+
149
+ # Adds support for Capybara system testing and selenium driver
150
+
151
+ gem 'capybara', '>= 2.15'
152
+
153
+ gem 'selenium-webdriver'
154
+
155
+ # Easy installation and use of web drivers to run system tests with browsers
156
+
157
+ gem 'webdrivers'
158
+
159
+ end
160
+
161
+
162
+
163
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
164
+
165
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
166
+
167
+
168
+
169
+ gem 'devise'
170
+
171
+ gem "refile", require: "refile/rails", github: 'manfe/refile'
172
+
173
+ gem "refile-mini_magick"
174
+
175
+ gem "bulma-rails"
176
+
177
+
178
+
179
+ ```
180
+
181
+
182
+
183
+
184
+
185
+ こいつと1週間近く格闘しています。
186
+
187
+ herokuでデプロイできないのであれば、他の方法を考えるのですが、おすすめはありますか?