fix basic strategy logic errors
add ember rails deploy support