lib/figaro2eb.rb
# Add the script to your .gitignore
Add the script to your .gitignore
Add the script to your . gitignore
def add_script_to_gitignore
      if File.readlines(".gitignore").grep(/create-env-vars.sh/).size == 0
        open('.gitignore', 'a') do |file|
          file << "\ncreate-env-vars.sh\n"
        end
      end
    end
def add_script_to_gitignore if File . readlines ( ".gitignore" ) . grep ( / create-env-vars.sh / ) . size == 0 open ( '.gitignore' , 'a' ) do | file | file << "\ncreate-env-vars.sh\n" end end end
Add the script to your .gitignore
Add the script to your . gitignore