def add_gems
      file = File.open("#{@target_dir}/Gemfile", "r+")
      file.each do |line|
        while line == "gem 'oauth2'\n" do
          return
        end
      end
      File.open("#{@target_dir}/Gemfile", "a+") do |f|
        f.write("gem 'multi_json'\ngem 'oauth2'\ngem 'songkick-oauth2-provider'\ngem 'ruby_regex'\ngem 'oauth'\n")
      end
      $stdout.puts "\e[1;35m \tGemfile\e[0m\tgem 'multi_json'\n\t\tgem 'oauth2'
\t\tgem 'songkick-oauth2-provider'\n\t\tgem 'ruby_regex'\n\t\tgem 'oauth'\n"
      $stdout.puts "\e[1;32m \trun\e[0m\tbundle install"
      system("bundle install")
    end
def add_gems
      file = File.open("#{@target_dir}/Gemfile", "r+")
      file.each do |line|
        while line == "gem 'oauth2'\n" do
          return
        end
      end
      File.open("#{@target_dir}/Gemfile", "a+") do |f|
        f.write("gem 'multi_json'\ngem 'oauth2'\ngem 'songkick-oauth2-provider'\ngem 'ruby_regex'\ngem 'oauth'\n")
      end
      $stdout.puts "\e[1;35m \tGemfile\e[0m\tgem 'multi_json'\n\t\tgem 'oauth2'
\t\tgem 'songkick-oauth2-provider'\n\t\tgem 'ruby_regex'\n\t\tgem 'oauth'\n"
      $stdout.puts "\e[1;32m \trun\e[0m\tbundle install"
      system("bundle install")
    end
=begin
Function to add the module dependency gems to project Gemfile.
=end