Ruby for multiple platforms

Morning,

I wonder whether you could give me some advice. I have ruby 1.9.2-p290
for windows checked into a ‘buildtools’ subversion repository. I’ve
added quite a few gems to it.

I now need to get it all working on Mac OSX Lion…

Can I ‘overlay’ the distros or do I need a completely separate folder
(reinstalling all the gems)?

Also, on a side note, is it correct to check in the gem cache folders
into source control?

Thanks for any advice,
James

On Wed, Sep 7, 2011 at 10:00 AM, James F.
[email protected] wrote:

I wonder whether you could give me some advice. I have ruby 1.9.2-p290 for
windows checked into a ‘buildtools’ subversion repository. I’ve added quite a few
gems to it.

I now need to get it all working on Mac OSX Lion…

Can I ‘overlay’ the distros or do I need a completely separate folder
(reinstalling all the gems)?

Gems may need a native build so I’d probably rather have different
directories for them.

Also, on a side note, is it correct to check in the gem cache folders into
source control?

Not sure but the fact that they are called “cache” folders (which
means the information is redundant) would prevent me from doing it.
The data will likely be overwritten at some point in time anyway.

Kind regards

robert

On 7 Sep 2011, at 12:13, Robert K. wrote:

directories for them.


remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Thanks Robert. I’m currently investigating and will update this thread
with the results. This is also my first ever email sent from a Mac.
Wooo!

I’m pretty sure the gem cache is only needed for gem pristine command.

– Matma R.