problem with devise to add email confirmation

How to add email confirmation in my rails app with Devise.

confirmation_instructions is the method defined on the Devise mailer

Try changing the mailer config in devise.rb

Devise.setup do |config|
  config.mailer_sender = 'my_email@gmail.com'
  config.mailer = 'Devise::Mailer'
end