From 83bbc2352c73beba655d9c1d58a3244782209bc5 Mon Sep 17 00:00:00 2001
From: Xavier Noria <fxn@hashref.com>
Date: Sat, 20 Dec 2014 00:51:30 +0100
Subject: prefer single quotes, by the beard of the prophet!

---
 .../rails/generators/rails/app/templates/bin/setup   | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'railties/lib')

diff --git a/railties/lib/rails/generators/rails/app/templates/bin/setup b/railties/lib/rails/generators/rails/app/templates/bin/setup
index ac500caffe..d5ed4f2e56 100644
--- a/railties/lib/rails/generators/rails/app/templates/bin/setup
+++ b/railties/lib/rails/generators/rails/app/templates/bin/setup
@@ -7,24 +7,24 @@ APP_ROOT = Pathname.new File.expand_path('../../',  __FILE__)
 
 chdir APP_ROOT do
   # This script is a starting point to setup your application.
-  # Add necessary setup steps to this file:
+  # Add necessary setup steps to this file.
 
-  puts "== Installing dependencies =="
-  system "gem install bundler --conservative"
-  system("bundle check") or system("bundle install")
+  puts '== Installing dependencies =='
+  system 'gem install bundler --conservative'
+  system('bundle check') or system('bundle install')
 
   # puts "\n== Copying sample files =="
-  # unless File.exist?("config/database.yml")
-  #   cp "config/database.yml.sample", "config/database.yml"
+  # unless File.exist?('config/database.yml')
+  #   cp 'config/database.yml.sample', 'config/database.yml'
   # end
 
   puts "\n== Preparing database =="
-  system "ruby bin/rake db:setup"
+  system 'ruby bin/rake db:setup'
 
   puts "\n== Removing old logs and tempfiles =="
-  rm_f Dir.glob("log/*")
-  rm_rf "tmp/cache"
+  rm_f Dir.glob('log/*')
+  rm_rf 'tmp/cache'
 
   puts "\n== Restarting application server =="
-  touch "tmp/restart.txt"
+  touch 'tmp/restart.txt'
 end
-- 
cgit v1.2.3