Skip to content

Instantly share code, notes, and snippets.

@dpfranklin
Created February 27, 2013 21:46
Show Gist options
  • Save dpfranklin/5052057 to your computer and use it in GitHub Desktop.
Save dpfranklin/5052057 to your computer and use it in GitHub Desktop.
Middleman sync error with Middleman 3.0.12
$ middleman build
/Users/david/.rvm/gems/ruby-1.9.3-p392/gems/asset_sync-0.5.4/lib/asset_sync/config.rb:99:in `yml_path': undefined method `root' for Rails:Module (NoMethodError)
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/asset_sync-0.5.4/lib/asset_sync/config.rb:91:in `yml_exists?'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/asset_sync-0.5.4/lib/asset_sync/config.rb:53:in `initialize'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/asset_sync-0.5.4/lib/asset_sync/asset_sync.rb:15:in `new'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/asset_sync-0.5.4/lib/asset_sync/asset_sync.rb:15:in `configure'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-sync-3.0.9/lib/middleman-sync/extension.rb:31:in `block in registered'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/vendor/hooks-0.2.0/lib/hooks.rb:53:in `instance_exec'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/vendor/hooks-0.2.0/lib/hooks.rb:53:in `block in run_hook_for'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/vendor/hooks-0.2.0/lib/hooks.rb:49:in `each'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/vendor/hooks-0.2.0/lib/hooks.rb:49:in `run_hook_for'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/vendor/hooks-0.2.0/lib/hooks.rb:107:in `run_hook'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/core_extensions/extensions.rb:151:in `initialize'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/core_extensions/ruby_encoding.rb:22:in `initialize'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/core_extensions/data.rb:35:in `initialize'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/application.rb:188:in `initialize'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/core_extensions/request.rb:56:in `new'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/core_extensions/request.rb:56:in `inst'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/cli/build.rb:88:in `shared_instance'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/cli/build.rb:57:in `build'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/task.rb:27:in `run'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/invocation.rb:120:in `invoke_task'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor.rb:275:in `dispatch'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/base.rb:425:in `start'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/cli.rb:77:in `method_missing'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/task.rb:29:in `run'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/task.rb:126:in `run'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/invocation.rb:120:in `invoke_task'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor.rb:275:in `dispatch'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.15.4/lib/thor/base.rb:425:in `start'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/lib/middleman-core/cli.rb:22:in `start'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.0.12/bin/middleman:18:in `<top (required)>'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/bin/middleman:19:in `load'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/bin/middleman:19:in `<main>'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/david/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment