diff --git a/app/assets/javascripts/app/lib/app_post/websocket.js.coffee b/app/assets/javascripts/app/lib/app_post/websocket.js.coffee index 8c08194ba..d06ff12aa 100644 --- a/app/assets/javascripts/app/lib/app_post/websocket.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/websocket.js.coffee @@ -244,7 +244,9 @@ class _webSocketSingleton extends App.Controller # use ajax fallback if no connection was possible if @backend is 'websocketPort' - @log 'notice', 'no websocket connection on :port/, use ajax long polling as fallback' + if @backend_port + port = ":#{@backend_port}" + @log 'notice', 'no websocket connection on port #{port}, use ajax long polling as fallback' @backend = 'ajax' @connect() return diff --git a/script/bootstrap.sh b/script/bootstrap.sh index dbdf47165..876067bfe 100755 --- a/script/bootstrap.sh +++ b/script/bootstrap.sh @@ -2,9 +2,8 @@ bundle install -rm -rf tmp/cache/file_store +rm -rf tmp/cache_file_store_* rake db:create rake db:migrate rake db:seed -