heroku console
을 사용할 때 예상대로 스택 트레이스가 아닌 예외가 발생할 때 항상 "내부 서버 오류"가 발생합니다.Padrino의 "heroku console"이 쓸모없는 오류 메시지를 표시하는 이유는 무엇입니까?
여기에 무슨 뜻인지의 성적이다 :
$ heroku console
Ruby console for myapp.heroku.com
>> var_that_does_not_exist
! Internal server error
>>
$ heroku run bundle exec padrino console -e production
Running bundle exec padrino console -e production attached to terminal... up, run.9
=> Loading production console (Padrino v.0.10.1)
=> Loading Application MyApp
=> Loading Application Admin
irb(main):001:0> var_that_does_not_exist
NameError: undefined local variable or method `var_that_does_not_exist' for main:Object
from (irb):1
irb(main):002:0>
내가 스택 추적을 얻을 변경할 수 있습니다 무엇에 어떤 아이디어?
좋은 질문 그게 전부, 나는이 "Heroku가이 번들 간부를 실행 사용하는 경향이있다. .. "시더 스택에서 Padrino 앱을 실행할 때 접근합니다. 여기서 다시 확인해 보겠지 만 Padrino 가이드 중 하나에 추가 할 수 있습니다. – Nathan
"heroku run"솔루션은 Bamboo 스택에서도 잘 작동하는 것 같습니다. "heroku 콘솔"이 우리가 바꿀 수있는 것이 무엇이든간에 설정이 있어야만하는 것처럼 보입니다 ... 우리가 얻을 때 솔루션은 가이드에 있어야합니다. :) –