teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

エラー文の追加

2020/11/27 16:12

投稿

takasu0130
takasu0130

スコア2

title CHANGED
File without changes
body CHANGED
@@ -23,6 +23,21 @@
23
23
  BUNDLED WITH
24
24
  2.1.4
25
25
  となっているので、bundleのバージョンは2.1.4になってると思うのですが‥‥
26
+ エラー文
27
+ ```
28
+ remote: !
29
+ remote: ! Could not detect rake tasks
30
+ remote: ! ensure you can run `$ bundle exec rake -P` against your app
31
+ remote: ! and using the production group of your Gemfile.
32
+ remote: ! Activating bundler (2.1.4) failed:
33
+ remote: ! Could not find 'bundler' (2.1.4) required by your /tmp/build_7b10b0f3/Gemfile.lock.
34
+ remote: ! To update to the latest version installed on your system, run `bundle update --bundler`.
35
+ remote: ! To install the missing version, run `gem install bundler:2.1.4`
36
+ remote: ! Checked in 'GEM_PATH=/tmp/build_7b10b0f3/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
37
+ remote: !
38
+ remote: ! To install the version of bundler this project requires, run `gem install bundler -v '2.1.4'`
39
+ remote: !
40
+ ```
26
41
 
27
42
 
28
43
  ```Gemfile

1

Gemfileの追加

2020/11/27 16:12

投稿

takasu0130
takasu0130

スコア2

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,4 @@
1
- $ git push heroku master
1
+ $ git push heroku main
2
2
  でプッシュしようとしても、しばらくロードした後、
3
3
 
4
4
  remote: !
@@ -22,4 +22,73 @@
22
22
  Gemfile.lockの最後の文が
23
23
  BUNDLED WITH
24
24
  2.1.4
25
- となっているので、bundleのバージョンは2.1.4になってると思うのですが‥‥
25
+ となっているので、bundleのバージョンは2.1.4になってると思うのですが‥‥
26
+
27
+
28
+ ```Gemfile
29
+ source 'https://rubygems.org'
30
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
31
+
32
+ ruby '2.6.3'
33
+
34
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
35
+ gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
36
+ # Use sqlite3 as the database for Active Record
37
+ gem 'pg', '0.17.1'
38
+ # Use Puma as the app server
39
+ gem 'puma', '~> 4.1'
40
+ # Use SCSS for stylesheets
41
+ gem 'sass-rails', '>= 6'
42
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
43
+ gem 'webpacker', '~> 4.0'
44
+
45
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
46
+ gem 'turbolinks', '~> 5'
47
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
48
+ gem 'jbuilder', '~> 2.7'
49
+ # Use Redis adapter to run Action Cable in production
50
+ # gem 'redis', '~> 4.0'
51
+ # Use Active Model has_secure_password
52
+ # gem 'bcrypt', '~> 3.1.7'
53
+
54
+ # Use Active Storage variant
55
+ # gem 'image_processing', '~> 1.2'
56
+
57
+ # Reduces boot times through caching; required in config/boot.rb
58
+ gem 'bootsnap', '>= 1.4.2', 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.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 web drivers to run system tests with browsers
79
+ gem 'webdrivers'
80
+ end
81
+
82
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
83
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
84
+
85
+ gem 'devise'
86
+ gem "refile", require: "refile/rails", github: 'manfe/refile'
87
+ gem "refile-mini_magick"
88
+ gem "bulma-rails"
89
+
90
+ ```
91
+
92
+
93
+ こいつと1週間近く格闘しています。
94
+ herokuでデプロイできないのであれば、他の方法を考えるのですが、おすすめはありますか?