Change bin/rails mode