fix #1404. This error seems not to occur for master.
update Gemset and fix deprecation warnings
fix false test error using timecop