capistrano-spec icon indicating copy to clipboard operation
capistrano-spec copied to clipboard

Capistrano 3 support...

Open petems opened this issue 11 years ago • 4 comments

petems avatar Sep 01 '14 10:09 petems

:+1:

toymachiner62 avatar Sep 22 '14 02:09 toymachiner62

Calling all volunteers to submit a PR for this.

relistan avatar Oct 24 '14 21:10 relistan

I'm not actively using this library so won't be fixing this myself anytime soon, but I'm happy to review pull requests (I use The Pull Request Hack to add contributors when they have pull requests accepted).

technicalpickles avatar Dec 31 '14 20:12 technicalpickles

Any idea what might be involved in this? I'm writing a plugin for capistrano, available here: https://github.com/FoamFactory/capistrano-monorepo/tree/jwir3/%231-specs

Unfortunately, I get

Failures:

  1) Capistrano::Monorepo::Assets loaded into a configuration should define a task called monorepo:import_assets
     Failure/Error: @configuration = Capistrano::Configuration.new
     
     NameError:
       uninitialized constant Capistrano::Configuration
     # ./spec/capistrano/monorepo/assets_spec.rb:5:in `block (2 levels) in <top (required)>'

Finished in 0.00275 seconds (files took 0.08935 seconds to load)
2 examples, 1 failure

Failed examples:

rspec ./spec/capistrano/monorepo/assets_spec.rb:10 # Capistrano::Monorepo::Assets loaded into a configuration should define a task called monorepo:import_assets

when running these specs. We do use Capistrano v3, so I'm wondering if this is an instance of this problem?

I'd be willing to help with this by submitting a PR, but I'm not quite sure where to start.

jwir3 avatar Aug 15 '19 14:08 jwir3