Update cucumber reference in Gemfile because of error that was happening with rspec generation. Install rspec using rails generate command.