Tbl uses a script for starting new rails projects.
After you run ‘rails new example -d=postgresql’, create a new file in the script folder of the new project. (don’t worry about an extension for the file)
Add the contents to the new file
Be sure to replace ‘replacemewithusername’ with the actually username. This is the same username in your config/database.yml file
After the file is created changed the permissions on the file, to make it executable. This is done by running:
$ chmod +x script/filename