Bump dependency versions for Rails 4.0.0.beta1.
Update Rails version in texts.
Bump gem version.