0

I am trying to push to Heroku. I have postgres and have set the buildpacks for Heroku. However I believe it is my file structure that is causing the error.

Main-File -> ProjectName -> RubyProj ->(this is where all the ruby controllers gem stuff is)

Main-File is my git repo and I am trying to push just the RubyProj file to heroku Is there a good way to do this without doing another git init on the RubyProj file?

1 Answer 1

1

Actually, it is possible to push only your RubyProj file to heroku, but I don't understand which type of error are you encountering. Try to switch to the appropriate git branch and push the project from the terminal.

cd ~/ProjectName/RubyProj git checkout master git commit -m heroku create git push heroku master 

Also check all the gems and correct bundle installation. Maybe this book will help you. https://www.railstutorial.org/book/beginning#sec-deploying Good luck, hope I helped you!

Sign up to request clarification or add additional context in comments.

1 Comment

@tnaught Did my answer helped you?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.