Sha256: ab0a3cd6f0984b19aa6c1973e286cd8554f7ace8152f967df17915380f126434

Contents?: true

Size: 346 Bytes

Versions: 11

Compression:

Stored size: 346 Bytes

Contents

Capistrano::Configuration.instance(true).load do
  before "deploy:migrate", "airbrake:symlink"
  
  namespace :airbrake do
    desc "Sets the symlink to shared/config/initializers/airbrake.rb"
    task :symlink do
      run "ln -nfs #{shared_path}/config/initializers/airbrake.rb #{release_path}/config/initializers/airbrake.rb"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
capones_recipes-1.4.1 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.4.0 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.2.4 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.3.0 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.2.3 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.2.2 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.1.1 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.2.0 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.1.0 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-1.0.0 lib/capones_recipes/tasks/airbrake/symlink.rb
capones_recipes-0.14.3 lib/recipes/airbrake/symlink.rb