Use https for ruby gems.
Update to Rails 4.0.5.