slatedocs / slate

Beautiful static documentation for your API
https://slatedocs.github.io/slate
Apache License 2.0
36.06k stars 159 forks source link

Getting error in CentOS when building middleman #297

Closed gianebao closed 8 years ago

gianebao commented 9 years ago

I did the same set of instructions from the readme in CentOS and I got this error while when i was using it in my OsX machine, it was working fine.

== Prerendering CSS
       error  build/stylesheets/print.css
Did not recognize your adapter specification (cannot load such file -- json/ext/parser). for `browsers'
/usr/local/share/ruby/gems/2.0/gems/compass-core-1.0.3/stylesheets/compass/_support.scss:7
/usr/local/share/ruby/gems/2.0/gems/compass-core-1.0.3/stylesheets/compass/utilities/general/_hacks.scss:1
/usr/local/share/ruby/gems/2.0/gems/compass-core-1.0.3/stylesheets/compass/utilities/general/_clearfix.scss:5
/usr/local/share/ruby/gems/2.0/gems/compass-core-1.0.3/stylesheets/compass/utilities/_general.scss:2
/usr/local/share/ruby/gems/2.0/gems/compass-core-1.0.3/stylesheets/compass/_utilities.scss:2
/usr/local/share/ruby/gems/2.0/gems/compass-core-1.0.3/stylesheets/_compass.scss:1
/var/www/slate/source/stylesheets/print.css.scss:3
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/script/tree/funcall.rb:303:in `reformat_argument_error'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/script/tree/funcall.rb:146:in `rescue in _perform'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/script/tree/funcall.rb:123:in `_perform'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/script/tree/node.rb:50:in `perform'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:468:in `visit_variable'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `block in with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `block in with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `block in with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `block in with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `block in with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `block in with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:88:in `with_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `block in with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:115:in `with_frame'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/stack.rb:79:in `with_base'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:158:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:52:in `map'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:52:in `visit_children'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `block in visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/base.rb:36:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:157:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/visitors/perform.rb:8:in `visit'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/root_node.rb:36:in `css_tree'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/tree/root_node.rb:20:in `render'
/usr/local/share/ruby/gems/2.0/gems/sass-3.4.14/lib/sass/engine.rb:268:in `render'
/usr/local/share/ruby/gems/2.0/gems/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:17:in `block in render'
/usr/local/share/ruby/gems/2.0/gems/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:29:in `with_import_scope'
/usr/local/share/ruby/gems/2.0/gems/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:16:in `render'
/usr/local/share/ruby/gems/2.0/gems/sprockets-sass-1.3.1/lib/sprockets/sass/sass_template.rb:53:in `evaluate'
/usr/local/share/ruby/gems/2.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:197:in `block in evaluate'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:in `each'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:in `evaluate'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/processed_asset.rb:12:in `initialize'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:374:in `new'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:374:in `block in build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:395:in `circular_call_protection'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:373:in `build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:94:in `block in build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/caching.rb:58:in `cache_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:93:in `build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:287:in `find_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:61:in `find_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/bundled_asset.rb:16:in `initialize'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:in `new'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:in `build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:94:in `block in build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/caching.rb:58:in `cache_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:93:in `build_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:287:in `find_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:61:in `find_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/environment.rb:75:in `find_asset'
/usr/local/share/ruby/gems/2.0/gems/sprockets-2.12.3/lib/sprockets/server.rb:47:in `call'
/usr/local/share/ruby/gems/2.0/gems/middleman-sprockets-3.4.2/lib/middleman-sprockets/environment.rb:228:in `call'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-more/extensions/minify_javascript.rb:49:in `call'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-more/extensions/minify_css.rb:54:in `call'
/usr/local/share/ruby/gems/2.0/gems/middleman-autoprefixer-2.4.4/lib/middleman-autoprefixer/extension.rb:43:in `call'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/lint.rb:49:in `_call'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/lint.rb:37:in `call'
/usr/local/share/ruby/gems/2.0/gems/rack-1.6.4/lib/rack/builder.rb:153:in `call'
/usr/local/share/ruby/gems/2.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'
/usr/local/share/ruby/gems/2.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'
/usr/local/share/ruby/gems/2.0/gems/rack-test-0.6.3/lib/rack/test.rb:58:in `get'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli/build.rb:255:in `render_to_file'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli/build.rb:221:in `build_resource'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli/build.rb:188:in `each'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli/build.rb:188:in `execute!'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli/build.rb:128:in `invoke!'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/actions.rb:94:in `action'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli/build.rb:70:in `build'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli.rb:72:in `method_missing'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/lib/middleman-core/cli.rb:20:in `start'
/usr/local/share/ruby/gems/2.0/gems/middleman-core-3.3.12/bin/middleman:18:in `<top (required)>'
/usr/local/bin/middleman:23:in `load'
/usr/local/bin/middleman:23:in `<main>'
lord commented 9 years ago

Hi @gianebao, thanks for reporting! I've been pretty busy these past couple of days, but I should have some time to get to checking this out soon. In the mean time, if you have any developments, please do let us know!

gianebao commented 9 years ago

I do have progress :). I got it up and running now in AWS S3. After searching the net, I found out that the new version of multi_json gem was causing the issue. I've added the required gems and the version. Also, I think it's better to gitignore the .lock file so its easier to generate the gems.

gianebao commented 9 years ago

I have issued a new one :)

lord commented 8 years ago

(closed since no longer using multi_json so should be fixed hopefully, see #302)