On 3 December 2015 at 13:41, Frederick Cheung <[email protected]> wrote: > > On Thursday, December 3, 2015 at 11:09:56 AM UTC, Colin Law wrote: >> >> >> >> That said, I'd like to hear from those of you who are still part of >> >> >> the >> >> >> vast majority who use Ruby on Rails directly on the host OS. How do >> >> >> you >> >> >> deal with the issues that prompted me to use VirtualBox/Vagrant? (I >> >> >> think >> >> >> that gemsets are a popular solution. Is this correct?) >> >> > >> >> > >> >> > I don't use gemsets - when using a bundler enabled project it won't >> >> > let >> >> > you load a gem that's not in the Gemfile. >> >> >> >> Can you explain what you mean by that in more detail please, I don't >> >> understand what you are saying. >> >> >> > >> > If you are using bundler, you can only load gems in the Gemfile or >> > Gemfile.lock >> >> I don't understand why that is a problem, or do you mean that given >> the above then there is no advantage to using gemsets? >> > > It's not a problem - it's a feature which ensures that all the used gems are > in the Gemfile. I've not used gemsets since I've been using bundler.
I thought I knew why I use gemsets (I have a different one for each combination of ruby/rails, major rails version that is, that I use, so 1.8.7@rails_2.3, 2.0.0@rails_4.2 etc) but I am not so sure now that it is worth it. It does mean that as I obsolete a version of rails I can remove the old gemset and so delete the old gems. How do you stop the global gemset from ending up with hundreds of obsolete gems, or do you just not bother about it? Cheers Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu-j13r-w_pbHAjVAo%3DrObAmXzYW11fV0CidHy67_p3qA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

