Zip the ####.rb file and then rename the ####.zip file extension to ###.rbz

You can also do the reverse if you've an .rbz and need to make it an .rb

If you can't see the .zip file extension then google how to make your OS display file extensions.