rubinius/rubinius — Issue #1510: `rbx report` overwrites .rubinius_last_error if the submission fails
Author: jfirebaugh
Created: 2012-01-13 00:13:17+00:00
State: open

```
$ bin/rbx report
Submitting the crash report...
An exception occurred running report
Could not submit gist (401 Unauthorized). Make sure you've set github.user and github.token in your Git config, or submit the crash report located at '/Users/john/.rubinius_last_error' manually. (GistSubmissionError)

Backtrace:
Gist(Module)#write at lib/bin/report.rb:31
Object#__script__ at lib/bin/report.rb:92
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:630
Rubinius::Loader#main at kernel/loader.rb:834
```

But now I can't follow the directions and submit .rubinius_last_error manually because it got overwritten with this error.