Updated to the correct way to simulate browsers and removing Creation of Gemfile, since all Rails 3+ projects have one.
Working with Rails 4.0
Version bump due to Rails 4.x support