Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Run the template error:uninitialized constant Faraday #27

Open
@shiyuhang0

Description

@shiyuhang0

Follow this guide https://docs.github.com/en/developers/apps/getting-started-with-apps/setting-up-your-development-environment-to-create-a-github-app and get error when i try to start the server in step 6

➜  github-app-template git:(master) ✗ bundle exec ruby template_server.rb
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/go/bin in PATH, mode 040777
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/go/bin in PATH, mode 040777
Traceback (most recent call last):
        8: from template_server.rb:2:in `<main>'
        7: from template_server.rb:2:in `require'
        6: from /Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit.rb:4:in `<top (required)>'
        5: from /Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit.rb:4:in `require'
        4: from /Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit/default.rb:1:in `<top (required)>'
        3: from /Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit/default.rb:1:in `require'
        2: from /Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit/middleware/follow_redirects.rb:9:in `<top (required)>'
        1: from /Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit/middleware/follow_redirects.rb:11:in `<module:Octokit>'
/Library/Ruby/Gems/2.6.0/gems/octokit-4.13.0/lib/octokit/middleware/follow_redirects.rb:14:in `<module:Middleware>': uninitialized constant Faraday::Error::ClientError (NameError)
Did you mean?  Faraday::ClientError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions