title: Pass ruby script file to rails console
body: <p>Is there a way to pass ruby file, <em>foo.rb</em> to rails console. Expected results would be after console starts rails environment to run file. </p>
  
  <p>Or any other way which would allow me to execute file in rails environment, triggered from command prompt.</p>