rjb

Can't deploy to Heroku the app with RJB gem

亡梦爱人 提交于 2019-11-30 05:43:32
问题 I've set the JAVA_HOME variable heroku config:add JAVA_HOME=/usr/lib/jvm/java-6-openjdk checked that heroku config shows this variable with value, then pushed: git push heroku master and still get JAVA_HOME is not set error while bundler is installing RJB gem. I can successfully deploy the same source to another Heroku application, and all environment variables are the same. What is wrong? 回答1: I had the same question, and in case anyone else wants to know, this is what Heroku told me: By