使用capistrano部署我的rails应用程序时,我有一个非常奇怪的错误.有时它是部署,有时不是.例如,我向css添加一些东西(只有一个字符串),例如.my_some_class{width:10px}
,在部署失败之后.在我添加之前 - 它部署好了.我确定没有其他任何改变因为我做了实验提交只包含一个css字符串.我的配置:
rails 4.1.0
ruby 2.1.1p76
gem 'capistrano-rails', group: :development
gem 'capistrano-rvm', group: :development
gem 'capistrano-bundler', group: :development
Run Code Online (Sandbox Code Playgroud)
部署日志结束:
Tasks: TOP => deploy:assets:precompile
(See full trace by running task with --trace)
The deploy has failed with an error: #<SSHKit::Command::Failed: rake exit status: 137
rake stdout: Nothing written
rake stderr: SafeYAML Warning
----------------
You appear to have an outdated version of libyaml (0.1.4) installed on your system.
Prior to 0.1.6, libyaml is vulnerable to a heap overflow exploit …Run Code Online (Sandbox Code Playgroud)