capistrano / capistrano-ext

Handy extensions for Capistrano
http://www.capify.org
MIT License
29 stars 6 forks source link

cannot load such file -- capistrano/ext/multistage #3

Open ghost opened 11 years ago

ghost commented 11 years ago

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

... but I do not have this issue using

My first three lines of my Capfile are

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

kellydunn commented 11 years ago

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

chileshemartin commented 5 years ago

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.