endoze / mina-multistage

Plugin for Mina that adds support for multiple stages.
https://endoze.github.io/mina-multistage/
MIT License
110 stars 20 forks source link

Unable to run with mina 1.0 #21

Closed pedroresende closed 8 years ago

pedroresende commented 8 years ago

After installing mina-multistage with mina 1.0 when I run the mina command I get the following error

mina aborted!
NameError: undefined local variable or method `all_stages' for main:Object
/Library/Ruby/Gems/2.0.0/gems/mina-multistage-1.0.2/lib/mina/multistage.rb:36:in `<top (required)>'
/tmp/project/config/deploy.rb:5:in `<top (required)>'
/Library/Ruby/Gems/2.0.0/gems/mina-1.0.0/lib/mina/application.rb:16:in `run'
/Library/Ruby/Gems/2.0.0/gems/mina-1.0.0/bin/mina:4:in `<top (required)>'
/usr/local/bin/mina:23:in `load'
/usr/local/bin/mina:23:in `<main>'
(See full trace by running task with --trace)
endoze commented 8 years ago

I've just released version 1.0.3 that resolves this issue. Thanks for your contribution!

pedroresende commented 8 years ago

@endoze Thanks :+1: