I have two machines that I would like to make sure have identical ruby
environments. Is it sufficient just to sync the /usr/local/lib/ruby
directories and that will make sure the same gems, etc. are installed on
each? Are there any other locations where settings, etc. are stored?
I have two machines that I would like to make sure have identical ruby
environments. Is it sufficient just to sync the /usr/local/lib/ruby
directories and that will make sure the same gems, etc. are installed on
each? Are there any other locations where settings, etc. are stored?
I don’t think so - I have quite a lot of stuff in /usr/lib/ruby. What
OS are you running on?
If something Debianesque, you might want to:
dpkg -L ruby
dpkg -L libruby1.8
assuming you used apt-get to install it. Then again, since you have
ruby in /usr/local, I suppose you compiled it. If that is the case,
you can use something like “checkinstall” to track where all the files
go when you run “make install”.