fixing issue with certain gems on ruby 1.8.7