LINUX.ORG.RU

Slug compilation failed на heroku

 ,


0

1

помогите пожалуйста задеплоить rails4-приложение на heroku

я создал на локалхосте rails4-приложение. затем зарегистрировался на heroku, скачал cli-утилиту, вошёл и запушил мои файлы проекта. в результате получил следующее сообщение об ошибке:

kalinin@kalinin ~/rails/skladik_kartinok $ git push heroku master
Counting objects: 2639, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2513/2513), done.
Writing objects: 100% (2639/2639), 150.46 MiB | 3.20 MiB/s, done.
Total 2639 (delta 1677), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Ruby app detected
.............
...................
......
........
remote:        --with-ruby-lib
remote:        --without-ruby-lib=${ruby-dir}/
remote:        
remote:        
remote:        Gem files will remain installed in /tmp/build_e5034c7feead9a0496a94cf6d08c0b27/vendor/bundle/ruby/2.0.0/gems/debugger-1.6.8 for inspection.
remote:        Results logged to /tmp/build_e5034c7feead9a0496a94cf6d08c0b27/vendor/bundle/ruby/2.0.0/gems/debugger-1.6.8/ext/ruby_debug/gem_make.out
remote:        An error occurred while installing debugger (1.6.8), and Bundler cannot
remote:        continue.
remote:        Make sure that `gem install debugger -v '1.6.8'` succeeds before bundling.
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby app
remote: 
remote: Verifying deploy....
remote: 
remote: ! Push rejected to frozen-retreat-2087.
remote: 
To https://git.heroku.com/frozen-retreat-2087.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/frozen-retreat-2087.git'
kalinin@kalinin ~/rails/skladik_kartinok $ 

открыл сайт через браузер, увидел следующее:

Heroku | Welcome to your new app!
Refer to the documentation if you need help deploying.

вот лог:

kalinin@kalinin ~/rails/skladik_kartinok $ heroku logs
2015-09-10T18:34:20.275177+00:00 heroku[api]: Enable Logplex by prozaik-kalinin@yandex.ru
2015-09-10T18:34:20.275357+00:00 heroku[api]: Release v2 created by prozaik-kalinin@yandex.ru
2015-09-10T18:39:10.462448+00:00 heroku[slug-compiler]: Slug compilation started
2015-09-10T18:39:10.462468+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2015-09-10T18:41:07.991970+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=frozen-retreat-2087.herokuapp.com request_id=b57c8af1-a45f-4f2f-bda5-24cc75434499 fwd="31.204.102.127" dyno= connect= service= status=502 bytes=
2015-09-10T18:41:08.296545+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=frozen-retreat-2087.herokuapp.com request_id=1de86e80-3f61-4ddf-92b3-1d00fcf7bb4d fwd="31.204.102.127" dyno= connect= service= status=502 bytes=
2015-09-10T18:42:10.351842+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=frozen-retreat-2087.herokuapp.com request_id=21dc0be5-5e32-4571-80f9-04995958d9ce fwd="31.204.102.127" dyno= connect= service= status=502 bytes=
2015-09-10T18:42:10.596370+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=frozen-retreat-2087.herokuapp.com request_id=ca23adbd-396a-4ebd-9d55-beeae64555ae fwd="31.204.102.127" dyno= connect= service= status=502 bytes=
2015-09-10T18:42:12.937710+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=frozen-retreat-2087.herokuapp.com request_id=a43bfc09-7439-43f0-a660-c5dd3a0dca54 fwd="31.204.102.127" dyno= connect= service= status=502 bytes=
2015-09-10T18:42:13.153101+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=frozen-retreat-2087.herokuapp.com request_id=7ad377c9-41b8-42b3-8380-4e55bacd91a3 fwd="31.204.102.127" dyno= connect= service= status=502 bytes=

отсюда http://stackoverflow.com/questions/15737296/heroku-push-rejected-failed-to-co... всё пробовал. не помогло



Последнее исправление: prozaik (всего исправлений: 1)

$ открой свой Gemfile
$ убери оттуда строчку с gem debugger
$ сделай bundle
$ закомить/запушь заново
kelyar ★★★★★
()
Последнее исправление: kelyar (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.