开发者

Ruby generic filesystem libraries

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.


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜