dthre@DERRICK-LG-GRAM17 MINGW64 ~/Documents/GitHub/dev-clockshark (master)
$ ruby -v
ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
dthre@DERRICK-LG-GRAM17 MINGW64 ~/Documents/GitHub/dev-clockshark (master)
$ bundler -v
Bundler version 2.1.0.pre.2
dato.config.rb
content = { hello: âworldâ }
create_data_file("_data/foobar.yml", :yaml, content)
crashing. not sure why
$ bundle exec dato dump
DEPRECATION WARNING: Ruby 2.5+ (required by Rails 6) provides Hash#compact and Hash#compact! natively, so requiring active_support/core_ext/hash/compact is no longer necessary. Requiring it will raise LoadError in Rails 6.1. (called from load at C:/Ruby26-x64/bin/dato:23)
Fetching content from DatoCMS⌠Traceback (most recent call last):
26: from C:/Ruby26-x64/bin/dato:23:in <main>' 25: from C:/Ruby26-x64/bin/dato:23:in
loadâ
24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/exe/dato:10:in <top (required)>' 23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/base.rb:466:in
startâ
22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in dispatch' 21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in
invoke_commandâ
20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in run' 19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/cli.rb:30:in
dumpâ
18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/loader.rb:38:in load' 17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/loader.rb:38:in
newâ
16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:19:in initialize' 15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:77:in
build_cache!â
14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:134:in build_collections_by_type!' 13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:134:in
eachâ
12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:143:in block in build_collections_by_type!' 11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:143:in
partitionâ
10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:194:in each' 9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:194:in
eachâ
8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/items_repo.rb:144:in block (2 levels) in build_collections_by_type!' 7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/item.rb:81:in
[]â
6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/item.rb:47:in attributes' 5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/item.rb:47:in
each_with_objectâ
4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/item.rb:47:in each' 3: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/item.rb:50:in
block in attributesâ
2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/item.rb:135:in read_attribute' 1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dato-0.7.5/lib/dato/local/field_type/file.rb:22:in
parseâ