Reputation: 37
Hello: I have a windows machine and a linux machine that both have the gems, ruby version, rails version, etc that I need. I want to copy the configuration for the Windows box to a couple of other windows boxes, and do the same for the Linux boxes (Ubuntu). I will move these to a studio whereby it won't have access to the internet during my stay.
I will install the same ruby version, and then I want ALL gems and configurations to be consistent and up to date across the board using the configs of the Linux and Window boxes as my guide. Can anyone advise how to do this if possible? For example, what folders/files would I need move, or can I simply copy and past the entire install of each config and paste them to the new boxes.
Thanks, STS
Upvotes: 1
Views: 114
Reputation: 7719
You are probably looking for the Bundler. It makes such tasks very easy. Just don't forget to reinstall bundle on the different system. Everything is kept, packages are specified in the Gemfile. Just read docs, it's very intuitive to use.
Upvotes: 1