-
Notifications
You must be signed in to change notification settings - Fork 121
Error with Middleman 4.2 and middleman-deploy 1.0 #132
Description
impossible to launch middleman server. I'have this error when I launch the middleman server :
WARN: Unresolved specs during Gem::Specification.reset:
'
rack (< 3, >= 1.4.5)
tilt (< 3, >= 1.4.1,> 2.0)> 2.3)
parallel (>= 0)
activesupport (< 5.1, >= 3.1, >= 4.2)
addressable (
sass (>= 3.4)
uglifier (> 3.0)> 3.4)
hashie (
concurrent-ruby (~> 1.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/extensions.rb:96:inload': Tried to activate old-style extension: deploy. They are no longer supported. (RuntimeError) from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/extensions.rb:127:inblock in load_settings'
from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/extensions.rb:125:ineach' from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/extensions.rb:125:inload_settings'
from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/extension_manager.rb:12:ininitialize' from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/application.rb:263:innew'
from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-core-4.2.1/lib/middleman-core/application.rb:263:ininitialize' from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-cli-4.2.1/bin/middleman:49:innew'
from /usr/local/opt/rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/gems/middleman-cli-4.2.1/bin/middleman:49:in<top (required)>' from /usr/local/opt/rbenv/versions/2.3.2/bin/middleman:22:inload'
from /usr/local/opt/rbenv/versions/2.3.2/bin/middleman:22:in `
Steps to reproduce the problem (from a clean middleman installation)
$ gem install middleman
$ middleman init
add ''' gem 'middleman-deploy', '~> 1.0' ''' in gemfile
$ bundle install
add in config.rb :
activate :deploy do |deploy|
deploy.deploy_method = :git
# Optional Settings
# deploy.remote = 'custom-remote' # remote name or git url, default: origin
# deploy.branch = 'custom-branch' # default: gh-pages
# deploy.strategy = :submodule # commit strategy: can be :force_push or :submodule, default: :force_push
# deploy.commit_message = 'custom-message' # commit message (can be empty), default: Automated commit at `timestamp` by middleman-deploy `version`
end""
$ middleman server
--> error
Additional information
- Ruby version: ruby 2.3.2p217 (2016-11-15 revision 56796) [x86_64-darwin16]
- Middleman version: 4.2
- OS version: iOS 10.12.4
my code is : https://github.com/hugobarthelemy/combidav