Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
e1senh0rn opened this issue Sep 1, 2009 · 0 comments
Open

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

e1senh0rn opened this issue Sep 1, 2009 · 0 comments

Comments

@e1senh0rn
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant