📜  rails 加载环境变量 - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:45.984000             🧑  作者: Mango

代码示例1
# add to Gemfile
gem "figaro"
# run
bundle install
bundle exec figaro install
# => generate `config/application.yml`
# Ex: https://github.com/laserlemon/figaro