Ruby generic filesystem libraries
Asked Answered
C

2

7

I am looking for a "Virtual File System" type library for ruby. I want to be able to have a completely generic file system that I can easily switch between using Local files and using S3 or using FTP or something like that. (Identical to VFS for Java)

Has anybody used any type of generic file system for ruby (I just need it to support local files and Amazon S3)

Any pointers would be much appreciated.

Concierge answered 25/5, 2010 at 4:21 Comment(0)
P
4

Take a look at Vfs (Virtual File System) - it provides simple and unified interface over Local File System, AWS S3, SFTP.

Overview: http://alexeypetrushin.github.com/vfs

S3 samples: http://alexeypetrushin.github.com/vfs/s3_basics.html

Pearman answered 11/9, 2011 at 17:34 Comment(1)
Very nice, this is what I was looking for!Concierge
B
1

Can you use something at the OS level like FUSE? I know of several S3 backends for fuse.

Bose answered 26/5, 2010 at 5:8 Comment(1)
No, I would much rather not rely on FUSEConcierge

© 2022 - 2024 — McMap. All rights reserved.