Sha256: 2bca893634d468447826bbb81433baa097cdc810a7063a2714e1e23d8d81ef5c

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module Dotenv
  class Railtie < Rails::Railtie
    include Rake::DSL if defined?(Rake)

    rake_tasks do
      desc 'Load environment settings from .env'
      task :dotenv do
        Dotenv.load ".env.#{Rails.env}", '.env'
      end
    end
  end
end

Dotenv.load ".env.#{Rails.env}", '.env'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dotenv-0.5.0 lib/dotenv/railtie.rb