Capybara tests fail with Timeout::Error in the first test when using Google Maps
You should not depend on external services for your tests. Here is a strategy:
http://robots.thoughtbot.com/post/34761570235/using-capybara-to-test-javascript-that-makes-http
Have you tried changing the GemFile around to have a group :production do ?
And are you loading this whole script in the proper place?
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false">
This example is for bootstrap:
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE"type="text/javascript"></script>