reworking config for ruby