Skip to content

Conversation

@ku1ik
Copy link
Contributor

@ku1ik ku1ik commented Aug 27, 2011

I tried to make a gist out of my spec_helper:

$ gist spec/spec_helper.rb Creating gist failed: 200 OK 

No gist created. I found out that filename was set to 'spec/spec_helper.rb' which isn't accepted by API.
Using File.basename(file) solves the issue.

@indirect
Copy link
Collaborator

Yeah, I noticed that myself. Thanks!

indirect pushed a commit that referenced this pull request Aug 28, 2011
Use File.basename(file) for filename that is sent to API
@indirect indirect merged commit fca2200 into defunkt:master Aug 28, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants