Sha256: da1fba1e4cdfff6217959159254e836e3fb2176dc78c4391f16f49376765240c

Contents?: true

Size: 256 Bytes

Versions: 6

Compression:

Stored size: 256 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
capistrano-env-0.1.0 lib/capistrano/env/railtie.rb
capistrano-env-0.0.7 lib/capistrano/env/railtie.rb
capistrano-env-0.0.6 lib/capistrano/env/railtie.rb
capistrano-env-0.0.5 lib/capistrano/env/railtie.rb
capistrano-env-0.0.4 lib/capistrano/env/railtie.rb
capistrano-env-0.0.3 lib/capistrano/env/railtie.rb