warning: LF will be replaced by CRLF in Gemfile.
The file will have its original line endings in your working directory.
Then I installed this version of rspec using the command:$ bundle install

Now I got a new error:1) LayoutLinks should have a Home page at '/'
Failure/Error: response.should have_selector('title', :content => "Home")
undefined method `has_selector?' for #
# ./spec/requests/layout_links_spec.rb:6:in `block (2 levels) in '
Google suggested the solution in this page: Add "webrat" the Gemfile, do a bundle install and that should do it.

In my case, I had to uncomment the entry in the Gemfile.$ git diff Gemfile
WARNING: terminal is not fully functional
diff --git a/Gemfile b/Gemfile
index 28af226..ea7d729 100644
--- a/Gemfile
+++ b/Gemfile
@@ -25,15 +25,16 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
-# group :development, :test do
-# gem 'webrat'
-# end
+group :development, :test do
+ gem 'webrat'
+end