Skip to content

Incorrect method call (Gist.send instead of Gist.write) #2

@e1senh0rn

Description

@e1senh0rn

What I did:
Made "Gist from selection" in TextMate with latest (37fe3f2) version of bundle.

What I've expected:
Pasting selected text/all text if none selected on github.

What I got:
Error saying "send: not a symbol (false). TypeError".

How to fix:
In the latest commit (37fe3f2) Gist.send was renamed to Gist.write in Support/lib/gist.rb, but this change was not applied to places, where this method was actually called (Support/bin/create_gist_from_selection.rb, Support/bin/send_multifile_gist.rb).

It is also partially fixed in joshua's fork (http://github.com/joshua/github-tmbundle/commit/3eeeeaee95124b19190d9903ce9935d8e7ca3286).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions