laserlemon/figaro

View on GitHub
lib/figaro/rails.rb

Summary

Maintainability
A
0 mins
Test Coverage
begin
  require "rails"
rescue LoadError
else
  require "figaro/rails/application"
  require "figaro/rails/railtie"

  Figaro.adapter = Figaro::Rails::Application
end