Sha256: 7021f25028b1086a9d048b74f79cdc4e226c6435a1b68ada56997a1e1a383613

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 Bytes

Contents

module Figaro
  module Rails
    class Application < Figaro::Application
      private

      def default_path
        rails_not_initialized! unless ::Rails.root

        ::Rails.root.join("config", "application.yml")
      end

      def default_environment
        ::Rails.env
      end

      def rails_not_initialized!
        raise RailsNotInitialized
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
daqing_figaro-1.2.1 lib/figaro/rails/application.rb
figaro-1.2.0 lib/figaro/rails/application.rb
seielit-figaro-1.1.2 lib/figaro/rails/application.rb
figaro-1.1.1 lib/figaro/rails/application.rb
figaro-1.1.0 lib/figaro/rails/application.rb
figaro-1.0.0 lib/figaro/rails/application.rb
figaro-1.0.0.rc1 lib/figaro/rails/application.rb
mguymon-figaro-0.7.0.1 lib/figaro/rails/application.rb