Mogilefs for Ruby

drbrain | Wed, 22 Mar 2006 21:44:00 GMT

Posted in , ,

We are using MogileFS to store all of our images and serving them up with WEBrick. To do this, we needed a MogileFS library, and I just released it.

You can install it as a gem:

$ sudo gem install mogilefs-client

Or go download mogilefs from Rubyforge.

I’ve got the mogilefs RDoc up on dev.robotcoop.com which will give you an overview of how to use it.

WARNING! I’ve only been able to test NFS mode in production, so HTTP mode is not proven to work. If you find any bugs in it, please report them at the Rubyforge tracker.

comments

Comments RSS FEED

Just a note, the actual gem name is: mogilefs-client so the install instruction above should read:

sudo gem install mogilefs-client

paul said about 23 hours later

Arg! Yes you are right.

Eric Hodel said 1 day later

BTW, In a previous post I saw you mentioned Linux::AIO, I think you can also go with the cross-platform IO::AIO from CPAN and it should work.

Christian Romney said 9 days later

I tried using IO::AIO but it disagrees with FreeBSD. I’ve emailed with the author and he blames FreeBSD. I have yet to prove him wrong and he knows a lot more about these things than I do. I doubt I will.

Eric Hodel said 9 days later

Comments are disabled