Heroku: Error Pushing Rails App to Heroku, Heroku Can't Find Rails App

Heroku: Error pushing Rails app to Heroku, Heroku can't find Rails app

Heroku does not support version 2.1.1

  • https://devcenter.heroku.com/articles/ruby-support#supported-runtimes

You need to specify a different version in your Gemfile:

# Gemfile
source "https://rubygems.org"
ruby '2.1.4' # or other from link above

[...]

push rails app to heroku fails in bundle supports no platform

@toy I think some of the gem dependencies problems. Either you can remove the Gemfile.lock and do bundle install then commit and push or do bundle update then commit and push along with the Gemfile.lock

1) Remove Gemfile.lock
2) bundle install
3) git add Gemfile.lock
4) git commit -m 'Gemfile.lock added'
5) git push heroku master

OR

1) bundle update
2) git add Gemfile.lock
3) git commit -m 'Gemfile.lock added'
4) git push heroku master

Heroku Ruby on Rails app push failed

It seems that the stack (cedar-14 or cedar) is a really old one. Upgrading the stack to Heroku-16 will solve the issue.

Attempting to Deploy my Rails app to Heroku: ModuleNotFoundError

Where are your app stylesheets located? I think your clue is here:

ModuleNotFoundError: Module not found: Error: Can't resolve 'stylesheets/application' in '/tmp/build_44a69be4/app/javascript/packs'

Webpacker is looking for 'stylesheets/application.scss' in the /app/javascript/packs directory and can't find it.

Rails application after deploying on Heroku gets 500 error can't find the error source in log

This is the error: ActionView::Template::Error (Must supply cloud_name in tag or in configuration)

It seems you didn't configure your CLOUDINARY_URL, as explained here: https://cloudinary.com/documentation/rails_integration#configuration

How to do it in Heroku: https://devcenter.heroku.com/articles/config-vars



Related Topics



Leave a reply



Submit