{"id":2811,"date":"2015-09-24T16:58:28","date_gmt":"2015-09-24T14:58:28","guid":{"rendered":"https:\/\/sgaul.de\/?p=2811"},"modified":"2015-09-22T15:03:39","modified_gmt":"2015-09-22T13:03:39","slug":"rails-4-already-initialized-constant-app_path","status":"publish","type":"post","link":"https:\/\/sgaul.de\/2015\/09\/24\/rails-4-already-initialized-constant-app_path\/","title":{"rendered":"Rails 4: Already initialized constant APP_PATH?"},"content":{"rendered":"

Ein Fehler, der mir in Rails-4-Projekten \u00f6fter unterkommt:<\/p>\n

bin\/rails:6: warning: already initialized constant APP_PATH<\/pre>\n

Dies deutet auf ein Problem mit Spring hin. Es kann daher helfen, die Projekt-Binaries neu zu generieren:<\/p>\n

rake rails:update:bin<\/pre>\n

Dies ist oft schon die L\u00f6sung oder\u00a0sollte zumindest eine Fehlermeldung liefern,\u00a0anhand derer man das tats\u00e4chliche Problem finden kann.<\/p>\n","protected":false},"excerpt":{"rendered":"

Ein Fehler, der mir in Rails-4-Projekten \u00f6fter unterkommt: bin\/rails:6: warning: already initialized constant APP_PATH Dies deutet auf ein Problem mit Spring hin. Es kann daher helfen, die Projekt-Binaries neu zu generieren: rake rails:update:bin Dies ist oft schon die L\u00f6sung oder\u00a0sollte zumindest eine Fehlermeldung liefern,\u00a0anhand derer man das tats\u00e4chliche Problem finden kann.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[91],"tags":[553,552,600],"_links":{"self":[{"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/posts\/2811"}],"collection":[{"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/comments?post=2811"}],"version-history":[{"count":1,"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/posts\/2811\/revisions"}],"predecessor-version":[{"id":2812,"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/posts\/2811\/revisions\/2812"}],"wp:attachment":[{"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/media?parent=2811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/categories?post=2811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sgaul.de\/wp-json\/wp\/v2\/tags?post=2811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}