#85 fixed rails_server to provide variables in correct order