title: How to check entire rails project for compilation errors
body: <p>I am new to ruby and rails. I am used to working in IDEs (Xcode, Visual Studio, etc.) where I can perform project-wide/workspace-wide "build/compile" operations.</p>
  
  <p>Let's say that I modify a number of ruby files in my rails project. I haven't yet written tests that will exercise all of my changes.</p>
  
  <p>Is there a way to ensure that all of my *.rb files compile without directly exercising them at runtime? I'd really just like to perform a "compile all of my ruby/erb files" operation so that I know that I don't currently have any syntax errors.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I probably should have mentioned that I've been writing code professionally for 20 years. I realize that Ruby isn't compiled like, say, C++, but that doesn't mean that its syntax can't be checked. In my case, I've decided to use <a href="https://github.com/YorickPeterse/ruby-lint" rel="noreferrer">ruby-lint</a> to catch basic syntax errors without having to exercise the code at runtime.</p>