CO2 capsules work, but take a lot to inflate the tyre properly. There are pocket size compressors around, that will do the job in time, but like the bigger compressor, requires a 12V outlet. Mind you, most of us have one or two of them fitted to the bike any way. Tip, leave the engine running when using a compressor, or you may not start.
Slime might seal the tyre, but will need more air to come up to pressure. If it gets you out of trouble, use it....