Add rubygems source and missing dm-mysql-adapter
Raise error unless positive integer
Fix issues when using ruby 1.9.2
Add tests for invalid parameter, add context and improve test texts