Fix Gemfile capitalization and adjust some test environment settings to travis environment