Use ruby 2.1.3.
Fix specs after refactoring fetching code.