Search code examples
ruby-on-railsrubygemsgeneratorwebrick

Do I have to restart rails to use a new generator?


I am trying to install a couple of gems shich include Rails generators. They were not installing properly until I restarted the WEBrick server. Is this common? Will I always have to restart the WEBrick server after installing new gems?


Solution

  • After installing any new gem that affect the runtime app environment, you have to restart your server. After generation of a model or a controller or creation of a view you don't have to restart the server