When i do git push heroku master ,it fails at rake assets precompile and i get an error Mysql2::Error: Can't connect to MySQL server on '127.0.0.1' heroku
What i already know Since i am using Rails 4,Definitely config.assets.initialize_on_precompile = false
is out of the picture because is no longer required.
heroku labs:enable user-env-compile
this feature is no longer supported by Heroku.
After doing research online, I learned that the solution might be here heroku build pack But i don't understand how to run those commands. I keep getting bash: bin/compile: No such file or directory
How do i resolve this issue? I am using Rails 4.2.5 ,Ruby 2.3.0 and the Db is Mysql locally.Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire