Было бы очень полезно, если бы кто-нибудь мог сказать мне, как это сделать. Я следую инструкциям в приведенной ниже ссылке, чтобы развернуть приложение, упомянутое в этой ссылке. http://installfest.railsbridge.org/installfest/deploy_a_rails_appHeroku push reject - Сбой компиляции: не удалось скомпилировать приложение Ruby
Однако развертывание происходит сбой с сообщением об ошибке:
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: NameError: undefined local variable or method `hRails' for main:Object
remote: Tasks: TOP => environment
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 desolate-peak-2535.
remote:
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/desolate-peak-2535.git'
Вот лог-сервер:
015-08-20T07:54:20.729142+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
015-08-20T08:21:44.563972+00:00 heroku[slug-compiler]: Slug compilation started
015-08-20T08:21:44.563994+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
015-08-20T08:26:26.742224+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
015-08-20T08:26:26.742136+00:00 heroku[slug-compiler]: Slug compilation started
выполните поиск вашего проекта для строки «hRails» и замените его на «Rails» – p4sh4