Fix Rails version in Gemfile snippets

Fixed the Rails version used in Gemfile snippets to match the Rails version used in the ‘Getting started on Mavericks’ guide.  Also removed the ‘~>’  in the second Gemfile snippet to reduce changes to the learner's Gemfile.