title: Rails Error: Unable to access log file. Please ensure that /home.../log/development.log exists and is chmod 0666
body: <p>Im trying to migrate a <code>db2</code> database to Ruby on Rails, but just when I run <code>rails g scaffold</code>, I get this: </p>
  
  <p><code>Rails Error: Unable to access log file. Please ensure that /home/.../log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.</code></p>
  
  <p>I have checked and my <code>development.log</code> does not exist! I'm not sure why, since I followed every step during the installation, but still my file doesn't exist. How can I create it? I have already tried uninstalling and installing Rails again, but the problem remains.</p>