title: Running a remote development environment in Rails
body: <p>The company I'm working for currently has a Rails 3 application on a dedicated remote server. The current development environment is a local machine.</p>
  
  <p>We are trying to put some infrastructure in place to hire some contractors to be able to do some development remotely. Obviously this won't work with our current development setup because it's local.</p>
  
  <p>I was thinking that I could put the development and test code in separate subdomains i.e.</p>
  
  <p>test.mydomain.com and dev.mydomain.com. </p>
  
  <p>This is a small (but growing) project and we would not have more than one developer working on one or two changes on our system at any given time. We are starting out with smaller enhancements and working our way up to bigger ones.</p>
  
  <p>My question is, what is the best way to deploy a development system that contractors would be able to access remotely and securely?</p>