may need to update ruby 2.6.6 in gemfile, and run bundle
also change it in .ruby-version file
commit
curl https://cli-assets.heroku.com/install.sh | sh
heroku login 
       proceed to login in browser
   heroku apps:create
   heroku buildpacks:add heroku/ruby --index 1
   code Procfile
     inside Procfile: 
       web: bundle exec rails s
       release: bin/rake db:migrate
heroku buildpacks:add heroku/ruby --index 1 -a, --app [APPNAME]

git push heroku master:main
https://devcenter.heroku.com/articles/git#creating-a-heroku-remote
 


 
    
Top comments (0)