Scott, If you don't use Bundler, then rvm can give you some nice sandboxed areas for development with gemsets - couple those with .rvmrc files for your projects and you're in good shape. I am a recent and passionate convert to the idea of only have the gems I *need* installed for a project.
I use one gemset per project and use the global gemset for the few gems that should be cross-project (like rake). The .rvmrc file activates a specific ruby and gemset when I change into a directory and I love it. It shines when I switch to my major project that runs on JRuby then back to one or our MRI 1.8.7 projects. Don On Oct 5, 2010, at 7:08 PM, Scott LaBounty wrote: > Part of my problem was that after I loaded it, all my gems "disappeared". > Actually they're only > good on the "system" ruby. So ... I'd have to reinstall all of them. I'm not > sure, for the amount of development I do, that it's at all worth doing that. > Like you said, if I had multiple ruby versions that I needed to test (e.g. as > gem developer) then it might seem pretty cool. > > Thanks you both, > > Scott > > > > On Tue, Oct 5, 2010 at 6:16 PM, Michael Lang <[email protected]> wrote: > I was a little underwhelmed by rvm, but then, I don't have a great > need for 10 flavors of Ruby. > > I definitely found its not an ideal solution for a production server > deployment. Its far more suitable on your development machine. I had > some fun with rvm trying out some benchmarking of 1.8 vs 1.9 vs. jruby > and it did the job there. > > I'm still a 1.8.7 die-hard, but I suspect rvm will become much more > useful when I finally start making the switch to 1.9. I've actually > tried making the switch to 1.9 a couple times, but couldn't get all > projects and gems ported successfully (AND maintained because the gem > authors weren't heavily supporting 1.9 themselves and not taking my > patches, either!) on every platform (Ubuntu, CentOS, Windows, and > Macs). All those native extension gems were a deal killer at the > time. > > Michael > On Tue, Oct 5, 2010 at 9:07 PM, Scott LaBounty <[email protected]> wrote: > > Does anyone use rvm? Is it worth the effort? I got it installed, but it > > seems like quite a bit of bother for what I need at least. > > > > Thoughts? > > > > -- > > Scott > > http://steamcode.blogspot.com/ > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sequel-talk" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/sequel-talk?hl=en. > > > > > > -- > http://codeconnoisseur.org > > -- > You received this message because you are subscribed to the Google Groups > "sequel-talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sequel-talk?hl=en. > > > > > -- > Scott > http://steamcode.blogspot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "sequel-talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sequel-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
