fix asking for password on Ruby <= 1.8.6

fixes #229