summaryrefslogtreecommitdiff
path: root/bin/rails-sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rails-sandbox')
-rwxr-xr-xbin/rails-sandbox8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/rails-sandbox b/bin/rails-sandbox
index c89b2ae..78020af 100755
--- a/bin/rails-sandbox
+++ b/bin/rails-sandbox
@@ -1,16 +1,16 @@
#!/usr/bin/env ruby
-app_root = 'sandbox'
+app_root = "sandbox"
unless File.exist? "#{app_root}/bin/rails"
- warn 'Creating the sandbox app...'
+ warn "Creating the sandbox app..."
Dir.chdir "#{__dir__}/.." do
system "#{__dir__}/sandbox" or begin # rubocop:disable Style/AndOr
- warn 'Automatic creation of the sandbox app failed'
+ warn "Automatic creation of the sandbox app failed"
exit 1
end
end
end
Dir.chdir app_root
-exec 'bin/rails', *ARGV
+exec "bin/rails", *ARGV