0.02
No commit activity in last 3 years
No release in over 3 years
Dotenv for Middleman
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0.14
>= 0
~> 10.0
~> 0.19
>= 0

Runtime

 Project Readme

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: