Following current best practices, what is the appropriate role for each of them?
Based on my limited understanding of Bundler and RVM, it seems like Rubygems have their own gem setting sites. In addition, for each of them, it is possible to install on system paths using sudo or in your home directory. And then there is the opportunity to sell gems using the Bundler (where applicable, for example, with Rails).
So, it seems to me that now there are at least seven places for setting gems:
- The path to the Rubygems system
- Rubygems user path
- RVM System Path
- RVM user path
- Bundler System Path
- Bundler user path.
- Provider (per application)
So what is the best way to handle this? Do we use all three (Rubygems, Bundler, RVM) and tell them everything to set the gems in the same place? Do we use sudo all the time, some time or never? And should we use a different strategy for production and development machines?
Regarding the note, are the Bundler and RVM wrappers around Rubygems, are they an alternative to it or are they completely orthogonal to it?
ruby-on-rails rubygems passenger rvm bundler
rlkw1024 Dec 05 '10 at 22:25 2010-12-05 22:25
source share