Sha256: bde7fd1cac9627434498af68f2a5d8e4f001e85af43509f6cfb8fcd600509c51

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

module Capistrano
  module Env
    class Railtie < ::Rails::Railtie
      config.before_configuration do
        p :before_configuration
        capenv_file = File.expand_path("./capenv.rb", Rails.root)
        require capenv_file if File.exists?(capenv_file)
#        p ENV
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-env-0.0.2 lib/capistrano/env/railtie.rb
capistrano-env-0.0.1 lib/capistrano/env/railtie.rb