我已經創建了建立在RoR的一個簡單的網站被拒絕。我創建了一個Git倉庫,並試圖將其部署到Heroku的,但它一直未能:推到Heroku的
remote: rake aborted!
remote: ExecJS::ProgramError: Unexpected character '#' (line: 10848, col: 0, pos: 303135)
remote: Error
remote: at new JS_Parse_Error (/tmp/execjs20151027-1005-1i4h7l5js:2359:10623)
remote: at js_error (/tmp/execjs20151027-1005-1i4h7l5js:2359:10842)
(做出錯誤的簡短休息)
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to serene-depths-4806.
remote:
To https://git.heroku.com/serene-depths-4806.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/serene-depths-4806.git'
難道說是有一個'#'不應該在那裏?我不知道如何發現,即使線路給出。
而且,我已經從源碼到PostgreSQL變化和取得的Gemfile中和database.yml文件的更改。然後,我刪除了舊Heroku的遠程分支和遵循這些指令嘗試和部署:https://devcenter.heroku.com/articles/git#deploying-code
任何建議表示讚賞!