graphiti-api / graphiti

Stylish Graph APIs

Home Page:https://www.graphiti.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template for tutorials are broken

gorajski opened this issue · comments

Trying to get started with Graphiti, but this template and this template suggested in the docs in several places (here, here and here) do not work because they both make use of a deprecated and now obsolete method:

~/Downloads/template:15:in `update_config!': undefined method `exists?' for File:Class (NoMethodError)
Did you mean?  exist?

The method exists? is no longer supported in Ruby and exist? should be used instead. It looks like a pull request for a fix to the second template already exists over here. Shout out to @jan-bw.

BUT! Since the documentation also mentions these two sources for the same template, it seems someone at Graphiti needs to either publish an updated copy of the first template, OR update the docs to only reference the second template.