How do you restart Ruby on Rails from the command prompt in Windows 2008 Server running IIS 7. It has been installed from the Web Platform Installer.
This is a RubyInstaller app from Helicon Zoo. I believe it runs through FastCGI and IIS. It’s Ruby 1.8. So I have a C:\Ruby18\ directory. I can run rails script/server, etc.. but I don’t know how to do a restart of the app Windows and IIS. I’ve reset IIS and recycled the app pool, but this doesn’t seem to effect the app.
To restart Ruby on Rails installed with Helicon Zoo you need to restart IIS Application pool running this Ruby application. This can be achieved by several means:
1. Use IIS Manager to start and stop appropriate application.
2. Type iisreset in the command line. This will restart whole IIS on the server.
3. Add something essential to the web.config file (not spaces), this will also recicle IIS application.
4. Use iisapp command as described here.
5. Use taskkill command to restart appropriate w3wp.exe process running your application.