If you installed puppet originally using ruby 1.8.7, then all of your gems, including puppet, will be in the ruby 1.8.7 gem home, and all the binaries, including puppet, that were created by rubygems will be pointing there. Since you built ruby 1.9.3 from source, perhaps you have a separate 'gem' executable in $PREFIX/bin ($PREFIX being what you passed to `configure` ruby) since 1.9.3 ships with rubygems built-in. Long story short, reinstalling your gems using your new ruby 1.9.3 gem executable will cause the new puppet gem (and all new 1.9.3 rubygems) to use ruby 1.9.3. Note that unless you remove them, your 1.8.7 ruby, rubygems, and all 1.8.7 installed gems will still exist.
On Wed, Dec 4, 2013 at 12:33 PM, machete <scuderia...@gmail.com> wrote: > gem list: > > gem list > > *** LOCAL GEMS *** > > bigdecimal (1.1.0) > bundler (1.3.5) > daemon_controller (1.1.7) > facter (1.7.3) > hiera (1.3.0) > io-console (0.3) > json (1.5.5) > json_pure (1.8.1) > minitest (2.5.1) > passenger (4.0.17) > puppet (3.3.2) > rack (1.5.2) > rake (0.9.2.2) > rdoc (3.9.5) > rgen (0.6.6) > > > > > On Wednesday, December 4, 2013 3:31:26 PM UTC-5, machete wrote: >> >> Hey Moses, >> >> Thanks for the quick response. >> >> Puppet was install via ruby gem ... I know, but it is so easy. >> Ruby/rubygem are running from source. >> OS is CentOS 6.4 Linux puppetdb 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 >> 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux >> >> >> On Wednesday, December 4, 2013 3:22:56 PM UTC-5, Moses Mendoza wrote: >>> >>> How did you install puppet originally? Are you running from packages, >>> rubygem, or running from source, or some other method? >>> >>> On Wed, Dec 4, 2013 at 11:58 AM, machete <scude...@gmail.com> wrote: >>> > Hey what gives ... ? ;) >>> > >>> > I've got a shiny new install of ruby 1.9.3-p484 ... and my 'sudo puppet >>> > resource package puppetdb ensure=latest' loads ruby 1.8.7 .... >>> > >>> > Would someone please point me to the instructions ( or share ) on how >>> > to get >>> > my 'sudo puppet resource package puppetdb ensure=latest' to use my ruby >>> > 1.9.3-p484? >>> > >>> > ~> ruby -v >>> > ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] >>> > ~> puppet -V >>> > 3.3.2 >>> > >>> > >>> > Cheers, >>> > >>> > t >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups >>> > "Puppet Users" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an >>> > email to puppet-users...@googlegroups.com. >>> > To view this discussion on the web visit >>> > >>> > https://groups.google.com/d/msgid/puppet-users/4015678f-f943-4de1-8640-52caa7592f31%40googlegroups.com. >>> > >>> > For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >>> -- >>> Moses Mendoza >>> Puppet Labs >>> >>> Join us at PuppetConf 2014, September 23-24 in San Francisco > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/f1c72cad-09f0-4a17-8f92-7f6e09995f46%40googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out. -- Moses Mendoza Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2B421WbBMq8C-AUkN2j_gH%3DJKAz6XRr11L1g0UGFaTCYZdmfww%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.