首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行橡胶:-p时缺少操作数:配置

运行橡胶:-p时缺少操作数:配置
EN

Stack Overflow用户
提问于 2013-08-14 14:32:43
回答 1查看 267关注 0票数 0

运行帽胶:config时,我会收到以下错误。希望有人能给我指路。

下面是我正在运行的命令:包exec橡胶"config",如您所见,它抱怨'mkdir -p‘命令末尾缺少操作数。

代码语言:javascript
复制
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/crontab
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/gemrc
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/ntp-sysctl.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/ntp.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/rsyslog.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/rubber.profile
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/common/ruby.profile
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/collectd/collectd-ping.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/collectd/collectd.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/collectd/filters.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/collectd/graphite-collectd.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/collectd/thresholds.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/collectd/types.db
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/haproxy/haproxy-base.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/haproxy/haproxy-default.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/haproxy/haproxy-passenger.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/haproxy/monit-haproxy.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/haproxy/syslog-haproxy.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/haproxy/syslogd-default.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/monit/monit-default.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/monit/monit-postfix.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/monit/monit.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/passenger_nginx/application.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/passenger_nginx/crontab
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/passenger_nginx/monit-nginx.conf
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/passenger_nginx/nginx
Rubber[INFO]: Transforming /mnt/publify-production/releases/20130814042309/config/rubber/role/passenger_nginx/nginx.conf
Rubber[INFO]: Transformation executing post config command: function error_exit { exit 99; }; trap error_exit ERR
mkdir -p 
mkdir: missing operand
Try `mkdir --help' for more information.
Rubber[INFO]: 
Rubber[ERROR]: Transformation failed for /mnt/publify-production/releases/20130814042309/config/rubber/role/passenger_nginx/nginx.conf
Rubber[ERROR]: Post command failed execution: function error_exit { exit 99; }; trap error_exit ERR
mkdir -p
EN

回答 1

Stack Overflow用户

发布于 2013-09-07 20:02:20

您可能需要像我一样将nginx_log_dir设置添加到您的橡皮擦_nginx.yml文件中。弹出该文件,打开并添加:

代码语言:javascript
复制
nginx_log_dir: /mnt/nginx/logs

我希望这对你有帮助。

编辑:

请参阅修复此问题的已接受的拉请求:Github拉出请求

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18234585

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档