Skip to content

Instantly share code, notes, and snippets.

@adrianvalenz
Last active May 14, 2018 10:47
Show Gist options
  • Select an option

  • Save adrianvalenz/17e715a39c2e7c197d84992ae9325975 to your computer and use it in GitHub Desktop.

Select an option

Save adrianvalenz/17e715a39c2e7c197d84992ae9325975 to your computer and use it in GitHub Desktop.
lsof -wni tcp:3000
kill -9 PID
$ ps aux | grep spring
returned:
ubuntu 3271 0.0 0.0 569224 16672 pts/6 Sl 01:11 0:00 spring server | mh03_sample_app | started 3 hours ago
ubuntu 9265 94.3 0.1 468460 73160 ? Rsl 04:20 0:02 spring app | mh03_sample_app | started 2 secs ago | test mode
Killing the spring server:
$ kill -15 3271
and re-running:
$ rails g uploader picture
now generated the uploader.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment