1 Now that all your configuration is in place, rerun the {{railspkg}} package configuration to install necessary Ruby Gems and other server dependencies. On Debian-based systems:
3 <notextile><pre><code>~$ <span class="userinput">sudo dpkg-reconfigure {{railspkg}}</span>
4 </code></pre></notextile>
6 On Red Hat-based systems:
8 <notextile><pre><code>~$ <span class="userinput">sudo yum reinstall {{railspkg}}</span>
9 </code></pre></notextile>
11 You only need to do this manual step once, after initial configuration. When you make configuration changes in the future, you just need to restart Nginx for them to take effect.