16

I'm going through the Agile Web Development with Rails 6 book and I got to the end of an "Iteration" and did bin/rails test and got a horrible long ugly dump somewhere in fixtures. (I'm not new to Rails ... just trying to catch up on all the new toys in Rails 6 and refresh).

I made sure all my code matched the sample code and then finally did ps -ef | grep -i spring and found three processes -- one of the 24 hours old. I killed them with just kill <pid> and then did bin/rails test and all was fine.

I realize that "in theory" I am not suppose to need to tell spring to restart but obviously sometimes you do. So, what is the prescribed method for restarting spring?

pedz
  • 2,271
  • 1
  • 17
  • 20

1 Answers1

43

To stop spring you can use bin/spring stop. It should start automatically when you run rails commands.

ramblex
  • 3,042
  • 21
  • 20