railsware / capistrano-multiconfig

Capistrano extension that allows to use multiple configurations
MIT License
65 stars 18 forks source link

Capistrano should be required first #4

Closed jhsu closed 12 years ago

jhsu commented 12 years ago

capistrano should be required before other modules/classes else uninitialized constant will be raised.

This happens if capistrano is not manually specified first in a Gemfile or required before capistrano-multiconfig.

ayanko commented 12 years ago
require 'capistrano/multiconfig'

Should be invoked in Capfile or capistrano recipes. There is no sense to try to require this capistrano extension when capistrao itself is not loaded because it uses capistrano instance object.

Also see v0.0.4

jhsu commented 12 years ago

Ok, makes sense. Thanks for the response.