Ok .. thanks ... looks like the linux user is rockin' a different version
than root and because I am using root to do the install it ... DOH! Scary,
I thought all the 1.8.7 stuff was gone ...
User
gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.23
- RUBY VERSION: 1.9.3 (2013-11-22 patchlevel 484) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9.1
- /home/mongrel/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
Root
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /root/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc"
- REMOTE SOURCES:
- http://rubygems.org/
On Wednesday, December 4, 2013 4:51:38 PM UTC-5, Moses Mendoza wrote:
>
> 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 <[email protected] <javascript:>>
> 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 <[email protected]> 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 [email protected].
> >>> > 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 [email protected] <javascript:>.
> > 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/fb5d6da5-326c-4bb6-8de0-91a7033f6dae%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.