Skip to content

Instantly share code, notes, and snippets.

@catalanojuan
Created August 4, 2014 22:37
Show Gist options
  • Save catalanojuan/678a1f341e4244446b00 to your computer and use it in GitHub Desktop.
Save catalanojuan/678a1f341e4244446b00 to your computer and use it in GitHub Desktop.
Error thrown when running `bundle exec middleman`
vagrant@precise64:~/code-of-conduct$ bundle exec middleman
== The Middleman is loading
/usr/lib/ruby/1.9.1/json/common.rb:148:in `parse': 387: unexpected token at '], (MultiJson::LoadError)
"conferences": [
]
}
'
from /usr/lib/ruby/1.9.1/json/common.rb:148:in `parse'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/multi_json-1.8.2/lib/multi_json/adapters/json_common.rb:16:in `load'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/multi_json-1.8.2/lib/multi_json/adapter.rb:20:in `load'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/multi_json-1.8.2/lib/multi_json.rb:120:in `load'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.15/lib/active_support/json/decoding.rb:15:in `decode'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/data.rb:105:in `touch_file'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/data.rb:28:in `block in initialize'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:176:in `instance_exec'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:176:in `block in run_callbacks'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:174:in `each'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:174:in `run_callbacks'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:104:in `did_change'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:137:in `block (2 levels) in reload_path'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:133:in `each'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:133:in `block in reload_path'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:126:in `chdir'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:126:in `reload_path'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/file_watcher.rb:36:in `block in registered'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:53:in `instance_exec'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:53:in `block in run_hook_for'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:49:in `each'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:49:in `run_hook_for'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:107:in `run_hook'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/extensions.rb:156:in `initialize'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/data.rb:35:in `initialize'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/application.rb:169:in `initialize'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:50:in `new'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:50:in `inst'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/preview_server.rb:102:in `new_app'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/preview_server.rb:20:in `start'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/cli/server.rb:79:in `server'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/cli.rb:77:in `method_missing'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/command.rb:29:in `run'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/command.rb:128:in `run'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/lib/middleman-core/cli.rb:22:in `start'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/middleman-core-3.2.0/bin/middleman:18:in `<top (required)>'
from /opt/vagrant_ruby/bin/middleman:19:in `load'
from /opt/vagrant_ruby/bin/middleman:19:in `<main>'
vagrant@precise64:~/code-of-conduct$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment