This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Rails app generator template. Run it: | |
### rails new _app_name_ -m https://gist.githubusercontent.com/DamirSvrtan/28a28e50d639b9445bbc/raw/app_template.rb | |
bin_setup_file = <<-FILE | |
#!/bin/sh | |
bundle install | |
bundle exec rake db:setup | |
FILE | |
File.open('bin/setup', 'w'){|file| file.write(bin_setup_file)} |