title: How to configure aptana for instant running of my script
body: <p>I'm working on a Ruby on Rails project and sometimes I need to run a script. Everyone else seems happy running their own server and scripts through the console.
  I on the other hand really want to write my code, press a button and have Aptana run my script. For one I hope this will enable breakpoints.</p>
  
  <ol>
  <li><p>How do I make sure it knows the database classes, currently I get TableName unknown name error. "require 'table.rb'" gets me a cannot load file error. Tried adding the file path with / and \, omitting the file extension, using ' or "</p></li>
  <li><p>What is the hotkey for running current file (whatever pressing the play button is)? Or how can this be configured?</p></li>
  <li><p>When I ask Aptana to run a file, I want to automatically save it, how can this be configured?</p></li>
  </ol>
  
  <p>Edit: I have found the hotkey for running current file is Ctrl + F11, not only is this an uncomfortable combination, it's already in use by Kubuntu and breaks things :(
  Also recently Aptana started asking what kind of application I want to run the code as:
  1. Ruby Application (always choose this one)
  2. Ruby Application (? again...)
  3. Test::Unit Test</p>
  
  <p>Clearly I need to change the hotkey hand have it choose Ruby Application at default.</p>