Статус выхода рейка: 139

Статус выхода рейка: 139

Я следую https://gorails.com/deploy/ubuntu/16.04

Я запускаю: «bundle exec cap production deploy» и получив следующую ошибку:

         01 $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test1/shared/bundle --without development test --deployment --qa€¦
        ? 01 deploy@107.170.84.18 3.251s
    00:21 deploy:assets:precompile
          01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
          01 /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: wa€¦
          01 /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: wa€¦
          01 bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
    (Backtrace restricted to imported tasks)
    cap aborted!
    SSHKit::Runner::ExecuteError: Exception while executing as deploy@107.170.84.18: rake exit status: 139
    rake stdout: Nothing written
    rake stderr: /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
    /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
    bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile

    SSHKit::Command::Failed: rake exit status: 139
    rake stdout: Nothing written
    rake stderr: /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
    /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
    bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile

    Tasks: TOP => deploy:assets:precompile
    (See full trace by running task with --trace)
    The deploy has failed with an error: Exception while executing as deploy@107.170.84.18: rake exit status: 139
    rake stdout: Nothing written
    rake stderr: /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
    /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
    bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
......
......
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:138:in `local_cache_key'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:74:in `middleware'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application/bootstrap.rb:79:in `block in <module:Bootstrap>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
/home/deploy/deploy_test1/releases/20170516175610/config/environment.rb:5:in `<top (required)>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `load'
/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)


** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:


/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:138:in `local_cache_key'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:74:in `middleware'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application/bootstrap.rb:79:in `block in <module:Bootstrap>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'

/home/deploy/deploy_test1/releases/20170516175610/config/environment.rb:5:in `<top (required)>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require_environment!'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:457:in `block in run_tasks_blocks'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'

/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `load'

/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `<main>'

Tasks: TOP => environment

(See full trace by running task with --trace)

мой Capfile - это один из них с rbenv 2.4.0: cap deploy + rbenv: bundle: команда не найдена

00рубин, рубин-на-рельсы-4, rbenv, capistrano3,

ruby,ruby-on-rails-4,rbenv,capistrano3,

0

Ответов: 0

Статус выхода рейка: 139

Я следую https://gorails.com/deploy/ubuntu/16.04

Я запускаю: «bundle exec cap production deploy» и получив следующую ошибку:

         01 $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test1/shared/bundle --without development test --deployment --qa€¦
        ? 01 deploy@107.170.84.18 3.251s
    00:21 deploy:assets:precompile
          01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
          01 /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: wa€¦
          01 /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: wa€¦
          01 bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
    (Backtrace restricted to imported tasks)
    cap aborted!
    SSHKit::Runner::ExecuteError: Exception while executing as deploy@107.170.84.18: rake exit status: 139
    rake stdout: Nothing written
    rake stderr: /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
    /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
    bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile

    SSHKit::Command::Failed: rake exit status: 139
    rake stdout: Nothing written
    rake stderr: /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
    /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
    bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile

    Tasks: TOP => deploy:assets:precompile
    (See full trace by running task with --trace)
    The deploy has failed with an error: Exception while executing as deploy@107.170.84.18: rake exit status: 139
    rake stdout: Nothing written
    rake stderr: /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
    /home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
    bash: line 1: 23934 Segmentation fault      (core dumped) $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
......
......
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:138:in `local_cache_key'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:74:in `middleware'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application/bootstrap.rb:79:in `block in <module:Bootstrap>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
/home/deploy/deploy_test1/releases/20170516175610/config/environment.rb:5:in `<top (required)>'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `load'
/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)


** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:


/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:138:in `local_cache_key'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache.rb:74:in `middleware'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application/bootstrap.rb:79:in `block in <module:Bootstrap>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'

/home/deploy/deploy_test1/releases/20170516175610/config/environment.rb:5:in `<top (required)>'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require_environment!'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/railties-4.2.4/lib/rails/application.rb:457:in `block in run_tasks_blocks'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'

/home/deploy/deploy_test1/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'

/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `load'

/home/deploy/.rbenv/versions/2.4.0/bin/bundle:22:in `<main>'

Tasks: TOP => environment

(See full trace by running task with --trace)

мой Capfile - это один из них с rbenv 2.4.0: cap deploy + rbenv: bundle: команда не найдена

00рубин, рубин-на-рельсы-4, rbenv, capistrano3,
Похожие вопросы