rails vendored gem to file uploading