Sha256: 5995b0c74fdd70c46bcc069aa98f8a0654cdbd1f5cf2bc6d5681a547dab5f4ae

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  _cset(:dotenv_path){ "#{shared_path}/.env" }

  namespace :dotenv do
    desc "Symlink shared .env to current release"
    task :symlink, roles: :app do
      run "ln -nfs #{dotenv_path} #{release_path}/.env"
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/dotenv-0.9.0/lib/dotenv/capistrano/recipes.rb
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/capistrano/recipes.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/capistrano/recipes.rb
dotenv-0.9.0 lib/dotenv/capistrano/recipes.rb
dotenv-0.8.0 lib/dotenv/capistrano/recipes.rb