Usando bund no-rdoc y bund no-ri con bundler
Al usar gem install gem_name
puedo pasar los conmutadores --no-rdoc
y --no-ri
para omitir la generación de documentación RDoc/RI para la gema en la instalación.
¿Hay una manera similar de hacer esto con bundle install
?
101
3 answers
Haga un archivo ~/.gemrc
y ponga esto en él:
gem: --no-rdoc --no-ri
Eso debería hacer que se aplique cada vez que ejecute el comando gem
. (Incluso desde bundle install
)
152
Author: Mitch Dempsey,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2011-09-23 23:12:02
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2011-09-23 23:12:02
Bundler no incluye rdoc y ri. No hay nada que necesites hacer.
189
Author: Timbinous,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-09-26 20:44:56
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-09-26 20:44:56
Véase https://stackoverflow.com/a/7662245/109618 para un mejor ~/.gemrc
:
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
20
Author: David J.,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-05-23 12:34:47
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-05-23 12:34:47