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 :dotenv

Features / Usage Examples

# Specify environment specific .env files
configure :development do
  activate :dotenv, env: '.env.development'
end

configure :build do
  activate :dotenv, env: '.env.build'
end

Badges

Gem Version Build Status Code Quality Code Coverage

Supported Ruby Versions

This library aims to support and is tested against the following Ruby implementations: