diff --git a/src/puma/dev/setup.go b/src/puma/dev/setup.go index efc2d70c..ed7b7d61 100644 --- a/src/puma/dev/setup.go +++ b/src/puma/dev/setup.go @@ -84,24 +84,12 @@ func Cleanup() { } func InstallIntoSystem(listenPort int) error { - path, err := osext.Executable() + binPath, err := osext.Executable() if err != nil { return err } - err = os.MkdirAll(mustExpand("~/bin"), 0755) - if err != nil { - return err - } - - fmt.Printf("* Copying %s to ~/bin/puma-dev...\n", path) - - binPath := mustExpand("~/bin/puma-dev") - - err = exec.Command("cp", path, binPath).Run() - if err != nil { - return err - } + fmt.Printf("* Use '%s' as the location of puma-dev\n", binPath) var userTemplate = `