Update Ruby dependencies.

:fork_and_knife: Most notably Rails is updated to 4.0.4.