title: Test if the current directory is inside a Rails project (bash)
body: <p>Is there an easy way to test if the current directory is inside a rails project? Clearly Rails itself tests this in order to use the rails subcommands (generate, scaffold, etc.), so presumably there's a straight-forward way to test this.</p>
  
  <p>I'm looking for something similar to how you would <a href="https://stackoverflow.com/questions/2180270/zsh-check-if-current-directoy-is-git-repo">test if you're inside a Git repo</a>.</p>