Sha256: 50864d014325b283b46a25864a58c1947d0a003ebbee88d7f03283ff1029f3b3

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

namespace :exceptionally_beautiful do
  desc "Cache all Exceptionally Beautiful error pages in your application's public folder"
  task :cache do
    on roles fetch(:exceptionally_beautiful_roles) do |host|
      within release_path do
        with :rails_env => fetch(:rails_env) do
          execute :rake, 'exceptionally_beautiful:cache'
        end
      end
    end
  end
end

namespace :load do
  task :defaults do
    set :exceptionally_beautiful_roles, -> { :app }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exceptionally_beautiful-0.1.5 lib/exceptionally_beautiful/capistrano/exceptionally_beautiful.rake
exceptionally_beautiful-0.1.4 lib/exceptionally_beautiful/capistrano/exceptionally_beautiful.rake
exceptionally_beautiful-0.1.3 lib/exceptionally_beautiful/capistrano/exceptionally_beautiful.rake
exceptionally_beautiful-0.1.2 lib/exceptionally_beautiful/capistrano/exceptionally_beautiful.rake