mirror of https://github.com/rails/rails
Suggest puma-dev configuration in bin/setup (#51088)
This commit is contained in:
parent
17b0c0ce14
commit
270eaa0565
|
@ -1,7 +1,7 @@
|
|||
require "fileutils"
|
||||
|
||||
# path to your application root.
|
||||
APP_ROOT = File.expand_path("..", __dir__)
|
||||
APP_NAME = "<%= app_name %>"
|
||||
|
||||
def system!(*args)
|
||||
system(*args, exception: true)
|
||||
|
@ -40,4 +40,8 @@ FileUtils.chdir APP_ROOT do
|
|||
|
||||
puts "\n== Restarting application server =="
|
||||
system! "bin/rails restart"
|
||||
|
||||
# puts "\n== Configuring puma-dev =="
|
||||
# system "ln -nfs #{APP_ROOT} ~/.puma-dev/#{APP_NAME}"
|
||||
# system "curl -Is https://#{APP_NAME}.test/up | head -n 1"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue