title: How do I run a Ruby file in a Rails environment?
body: <p>I want to run a Ruby file in the context of a Rails environment.
  rails runner almost does what I want to do, but I'd like to just give it the file name and arguments. I'm pretty sure this is possible since I've done it before. Can someone remind me how to do this?</p>