Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Installation instructions #7

Open
abh opened this issue Apr 25, 2012 · 4 comments
Open

Installation instructions #7

abh opened this issue Apr 25, 2012 · 4 comments

Comments

@abh
Copy link
Contributor

abh commented Apr 25, 2012

Not being a regular Ruby user it's a pain in the neck to figure out what to install (well, tedious at least). Our backup server is running Ubuntu and there are missing dependencies and others are too old. Explicit installation instructions would be helpful. (For example the 'mogilefs' gem can't be found by the gem tool).

@jesseangell
Copy link

What version of Ruby are you running? What release of Ubuntu?

@abh
Copy link
Contributor Author

abh commented Apr 25, 2012

First 1.8 something (whatever is on the recent Ubuntu we have on our storage server). Some of the gems didn't work with that, so I installed 1.9.1 and that got all the gems working except I don't know where to find 'mogilefs'. 'gem' only has 'mogilefs-client'.

@jesseangell
Copy link

Well there is no gem mogilefs. The gemspec calls for mogilefs-client so that is what rubygems should install if you gem install mogbak.

The code calls for require 'mogilefs' because that is what mogilefs-client provides.

Where are you seeing the reference to mogilefs?

@abh
Copy link
Contributor Author

abh commented Apr 26, 2012

Oh, just the "can't load mogilefs" error. I think I had installed mogilefs-client into the ruby 1.8 path by mistake so I mistakenly thought that was the wrong client. I got it to startup now, yay.

I did try 'gem install mogbak', but that errored out with some other gem problem so I did a git clone of mogbak and thus ended up in the 'install gems one by one' trouble.

Anyway, the ticket wasn't so much to get help with my install as a request to have a section in the readme saying 'To install run gem install mogbak and explaining what dependencies are required (MySQL client libs, Ruby newer than X, etc). To be fancy then a section on how to get the required gems installed one by one would be nice, too. "Run gem install X; gem install Y; gem install A B C" or whatever.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants