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

cannot load such file -- capistrano/ext/multistage

Open ghost opened this issue 12 years ago • 2 comments

I'm using rvm 1.16.20 and noticed the following issue

.rvm/gems/ruby-1.9.3-p0@mygemset/gems/capistrano-2.8.0/lib/capistrano/configuration/loading.rb:152:in `require': cannot load such file -- capistrano/ext/multistage (LoadError)

Using

  • ruby-1.9.3-p0
  • ruby-1.9.3-p362

... but I do not have this issue using

  • ruby-1.9.3-p194

My first three lines of my Capfile are

load 'deploy' if respond_to?(:namespace) # cap2 differentiator Dir['vendor/plugins//recipes/.rb'].each { |plugin| load(plugin) } require 'capistrano/ext/multistage'

ghost avatar Jul 08 '13 20:07 ghost

+1 I'm also experiencing this issue on ruby-1.9.3-p448

kellydunn avatar Oct 30 '13 00:10 kellydunn

If you are using capistrano 3.11.1 or later, just comment the line require 'capistrano/ext/multistage' from deploy.rb. It was the cause of all my nightmares.

chileshemartin avatar Oct 03 '19 10:10 chileshemartin