If that is not an option, I would request from the landlord if you can use your security deposit as your last months rent. Provided you have kept the unit in good condition, your security deposit will not be needed to do repairs and you should be refunded this money.
You can also go to your local town/city and talk to the social worker there. Some times, the towns have emergency funds for situations such as yours.
Of all the things, you should find out how much time you have before you have to leave the property.