seejohnrun/haste-client — pull request #6 by jokull (2012-04-21 16:58:30+00:00)
Title: `HASTE_SERVER` variable should be `dup`ed

This is my first toe-dipping into Ruby. Not 100% if is the right way to fix.

Here is the traceback I was getting.

jokull.air~/Code/haste-server: heroku logs | hastebin
/Users/jokull/Code/haste-client/lib/haste.rb:47:in `chop!': can't modify frozen String (RuntimeError)
from /Users/jokull/Code/haste-client/lib/haste.rb:47:in `server'
from /Users/jokull/Code/haste-client/lib/haste.rb:26:in `start'
from /Users/jokull/Code/haste-client/bin/haste:8:in `

'