-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method "deploy_method" #115
Comments
Change the line in your Gemfile to:
You need to use the latest version, because of changes in the middleman v4.0.0 API. Your other option is to downgrade middleman-core to v3 |
I think I'm seeing a related issue – I've added the latest version to my gemfile as above, but when running |
I can confirm this issue. Ruby 2.2.1, middleman-core-4.1.1 here. |
I also encountered this issue until I saw @kirichkov 's instructions. Please consider updating the README. |
Encountered same problem and @kirichkov's comment solved it for me. Had to specify git instead of github.
|
I can confirm this too. However, solutions above doesn't help. The trace is:
|
It would seem that simply changing your I believe that commit 9eece01 is responsible for the change. Not entirely sure why the change though? Seems like it may have been a typo.
|
hello,
while trying to include the deploy block as suggested in this repo, i get the following error when i try to execute middleman server or middleman build.
/home/aditya/development/slate/slate/config.rb:35:in `block in initialize': undefined method`deploy_method=' for #Middleman::Deploy::Options:0x007fbfaf4beee0 (NoMethodError)
ruby versions tried:
1.9.3 (had to upgrade as net-ssh requires >=2.0.0)
2.0.0
2.3.0
executing middleman:
middleman server (while on 1.9.3)
bundle exec middleman s
what additional information I might need to provide?
The text was updated successfully, but these errors were encountered: