2013-07-20 3 views
0

Heroku не будет развертываться. Я получаю следующее сообщение об ошибке:heroku просит отладчика при развертывании

2013-07-20T05:46:05.382706+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 15871` 
2013-07-20T05:46:10.657881+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5) 
2013-07-20T05:46:10.658274+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5) 
2013-07-20T05:46:13.705246+00:00 app[web.1]: => Booting WEBrick 
2013-07-20T05:46:13.705246+00:00 app[web.1]: => Rails 3.2.13 application starting in production on http://0.0.0.0:15871 
2013-07-20T05:46:13.705246+00:00 app[web.1]: => Call with -d to detach 
2013-07-20T05:46:13.705246+00:00 app[web.1]: => Ctrl-C to shutdown server 
2013-07-20T05:46:13.705246+00:00 app[web.1]: Connecting to database specified by DATABASE_URL 
2013-07-20T05:46:18.032181+00:00 app[web.1]: Exiting 
2013-07-20T05:46:18.035248+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on': No such file to load -- debugger (LoadError) 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in `each' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in `block in eager_load!' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in `each' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in `eager_load!' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>' 
2013-07-20T05:46:18.035248+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing' 
2013-07-20T05:46:18.035421+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/config.ru:in `new' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/config.ru:in `<main>' 
2013-07-20T05:46:18.043408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval' 
2013-07-20T05:46:18.043631+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:in `app' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in `app' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in `start' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in `block in <top (required)>' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from script/rails:6:in `require' 
2013-07-20T05:46:18.045133+00:00 app[web.1]: from script/rails:6:in `<main>' 
2013-07-20T05:46:19.556879+00:00 heroku[web.1]: Process exited with status 1 
2013-07-20T05:46:19.566212+00:00 heroku[web.1]: State changed from starting to crashed 

У меня нет отладчика в моей Gemfile (ни в моей Gemfile.lock). Кстати, Heroku просит ruby ​​1.9.1, когда мой Gemfile указывает 1.9.3.

Я запустил «rvm gemset create [myapp]» и «rvm gemset use [myapp]», чтобы заставить локальные рельсы использовать локальный гемсет (в отличие от системных камней), и приложение запускается локально без проблем.

В основном, он говорит, что ищет отладчик. Я не понимаю, почему это так. Любое (полезное) понимание было бы весьма полезным.

+0

вы можете прикрепить результат 'Heroku config'? (Просто вырезать любые secrects у вас есть в наличии) –

+0

'=== MYAPP Config Vars' ' DATABASE_URL: Postgres: // ... '' HEROKU_POSTGRESQL_TEAL_URL: Postgres: // ... '' PATH : bin: vendor/bundle/ruby ​​/ 1.9.1/bin:/usr/local/bin:/usr/bin:/bin' – DudeGuy

ответ

0

Вы должны

heroku config:unset PATH 
+0

Я действительно добавил эти пути в соответствии с идеями героя. Он не работал раньше. Это не сработало после и после их удаления, оно все еще не работает. Я не думаю, что это вопрос путей. По какой-то причине он ищет отладчик. Я даже запустил «отладчик установки запуска от героя», но безрезультатно. – DudeGuy

+0

Конечно, это вопрос путей. удалите его и сделайте 'git push -force', и он должен работать ИЛИ, по крайней мере, изменить ошибку msg –

Смежные вопросы