Fixing Travis issue for Rails 4 environment