Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header "Copying and configuring sample files"
- if copy_sample "config/database.yml"
- gsub_file("config/database.yml", /username:.*\n/, "username: #{ask("\nWhat is your database username? ", :blue)}\n")
- gsub_file("config/database.yml", /password:.*\n/, "password: #{ask("\nWhat is your database password? ", :blue)}\n")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement