I use gem google drive v.2.1.2, and I searched api from here.
According to this api, I can upload files by following code.
session.upload_from_file("/path/to/hoge.txt")
In this api, no way to specify a folder to which I can upload my files.
If you know the way to specify a foloder, please tell me.