Tag: gem


Ruby gem command

Install Ruby gems from Github source repositoryTo to this, you have to install a gem called specific_install first. 12gem install specific_installgem specific_install https://github.com/XXX/YYY.git [


How to add configuration to Ruby gem

1. Add config into gem definition file directly12345678module XXXX...... class << self ENV['environment'] = 'production' end......end 2. Use yamlCreate your own yaml files, e.g. config1.ym