| Summary: | Wrong debug mode check in /usr/bin/mongrel_cluster | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Nikolay A. Fetisov <naf> |
| Component: | ruby-mongrel_cluster | Assignee: | nbr <nbr> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P3 | CC: | cas, imz, led, majioa, mike, rider, stalker, stanv, timonbl4 |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Для текущего ruby-mongrel_cluster-1.0.5-alt4 в /usr/bin/mongrel_cluster проверка включения режима отладки mongrel в файле конфигурации выполняется как (строки 225-226) ! shell_var_is_no "$opt_debug" || args="$args -B" При явном выключении в файле конфигурации параметра debug (при наличии в нём строки 'debug: no'), mongrel_rails запускается с ключом -B, т.е. с _включённой_ отладкой. По-видимому, правильный вариант ! shell_var_is_yes "$opt_debug" || args="$args -B"