Middleman Dotenv
Integrates Dotenv into Middleman
Installation
gem 'middleman-dotenv', '~> 2.0'Open your config.rb and add the following right at the top of the file
# Uses .env in the root of the project
activate :dotenvFeatures / Usage Examples
# Specify environment specific .env files
configure :development do
activate :dotenv, env: '.env.development'
end
configure :build do
activate :dotenv, env: '.env.build'
endBadges
Supported Ruby Versions
This library aims to support and is tested against the following Ruby implementations: