Issue with simple Rails tutorial

software development

#1

I have been working through a simple Rails tutorial. Unfortunately, I’ve noticed that sometimes the updates in my code are reflected immediately in the application and other times it takes an indeterminate amount of time.

After reading up on Rails and Dreamhost, I learned that Dreamhost deploys Rails applications in “production” mode by default. As such, what I described above is not unexpected. However, I changed my configuration (in my environment.rb file) to use “development” mode by
default. This should force Rails to compile my app each time I hit a new page. Unfortunately, that does not appear to be the case.

Can someone please shed some light on what’s going on?


#2

Looks like “killall -9 dispatch.fgci” did the trick. However, could someone explain why that worked?