Skip to content

Commit

Permalink
Suggest puma-dev configuration in bin/setup (rails#51088)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh authored and Ridhwana committed Mar 5, 2024
1 parent c14102e commit 6c1606e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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

0 comments on commit 6c1606e

Please sign in to comment.