We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b0c0c commit 270eaa0Copy full SHA for 270eaa0
railties/lib/rails/generators/rails/app/templates/bin/setup.tt
@@ -1,7 +1,7 @@
1
require "fileutils"
2
3
-# path to your application root.
4
APP_ROOT = File.expand_path("..", __dir__)
+APP_NAME = "<%= app_name %>"
5
6
def system!(*args)
7
system(*args, exception: true)
@@ -40,4 +40,8 @@ FileUtils.chdir APP_ROOT do
40
41
puts "\n== Restarting application server =="
42
system! "bin/rails restart"
43
+
44
+ # puts "\n== Configuring puma-dev =="
45
+ # system "ln -nfs #{APP_ROOT} ~/.puma-dev/#{APP_NAME}"
46
+ # system "curl -Is https://#{APP_NAME}.test/up | head -n 1"
47
end
0 commit comments