update ruby version to 1.9.3
handle response errors
fix error typo
change ruby version
ruby version at least 1.8.7
Merge pull request #13 from janika/master

Add error handling