[Puppet Users] Re: Puppet on Centos 6.0

2011-10-24 Thread Alexandre
Hi trey, I put it here: https://github.com/alexfouche/rvm On 19 oct, 21:07, Robert Mortimer wrote: > I got it installed in the end: > > 1) Only install dev libraries for the architecture you are using (gcc > and mysql dev) > 2) Gems from source (not RPM) were used > 3) Active record can not be

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-19 Thread Robert Mortimer
I got it installed in the end: 1) Only install dev libraries for the architecture you are using (gcc and mysql dev) 2) Gems from source (not RPM) were used 3) Active record can not be the latest version (down grade was required) The only other option is to roll your own RPM or scavenge them from

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-19 Thread Alexandre
Why not use RVM ? It wll be easy to create a ruby env with its gems. It is in /usr/local and completely independant from the system ruby and all gems. I enforce not putting any files on the system which are not part of a RPM. For example, i use the puppetmaster and puppet rpms, so that both run an

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-19 Thread Alexandre
Why not use RVM ? It wll be easy to create a ruby env with its gems. It is in /usr/local and completely independant from the system ruby and all gems. I enforce not putting any files on the system which are not part of a RPM. For example, i use the puppetmaster and puppet rpms, so that both run an

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Michael Stahnke
On Tue, Oct 18, 2011 at 2:56 PM, jcbollinger wrote: > > > On Oct 18, 11:43 am, Michael Stahnke wrote: >> On Tue, Oct 18, 2011 at 6:19 AM, jcbollinger >> wrote: > [...] >> > I, on the other hand, would recommend avoiding gems altogether if >> > you're using the system's Ruby (i.e. one you instal

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread jcbollinger
On Oct 18, 11:43 am, Michael Stahnke wrote: > On Tue, Oct 18, 2011 at 6:19 AM, jcbollinger > wrote: [...] > > I, on the other hand, would recommend avoiding gems altogether if > > you're using the system's Ruby (i.e. one you installed from an RPM, > > whether via yum or otherwise).  Ruby modul

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Michael Stahnke
On Tue, Oct 18, 2011 at 9:49 AM, Steve Snodgrass wrote: > I've been working on building the Fedora 15 rails 3 RPMs for EL6.  I'd > be interested in doing that for EPEL, I'll have to look into how to > become a maintainer. > If you're already in the Fedora/EPEL ecosystem, ping me in #epel. I can

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Eric Shamow
My worry is often that a poorly-crafted will overwrite something that the gem db expects to be there. It shouldn't happen but it does - so for me I stick to all-RPMs, because at least then expectations are managed by the rpm database, and I can fix things by repairing a broken package. If gem a

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Aaron Grewell
It also depends on how many machines you're managing. If you've got very many I'm with John: don't cross the streams. It's so easy to make RPMs from gems that there's really no reason not to if you need a newer version than what's provided. On Tue, Oct 18, 2011 at 10:14 AM, Craig White wrote: >

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Craig White
On Oct 18, 2011, at 6:19 AM, jcbollinger wrote: > > > On Oct 17, 3:03 pm, Russell Van Tassell wrote: >> Personally, I've had better luck letting gem managed its own gems, rather >> than depending on Yum repositories (specifically on CentOS). >> >> I'd take a list of the Ruby gems you've insta

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Steve Snodgrass
I've been working on building the Fedora 15 rails 3 RPMs for EL6. I'd be interested in doing that for EPEL, I'll have to look into how to become a maintainer. On Oct 17, 4:05 pm, Todd Zullinger wrote: > robert.morti...@gmail.com wrote: > > I am having no joy installing Puppet Server with MySQL s

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Michael Stahnke
On Tue, Oct 18, 2011 at 6:19 AM, jcbollinger wrote: > > > On Oct 17, 3:03 pm, Russell Van Tassell wrote: >> Personally, I've had better luck letting gem managed its own gems, rather >> than depending on Yum repositories (specifically on CentOS). >> >> I'd take a list of the Ruby gems you've insta

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread jcbollinger
On Oct 17, 3:03 pm, Russell Van Tassell wrote: > Personally, I've had better luck letting gem managed its own gems, rather > than depending on Yum repositories (specifically on CentOS). > > I'd take a list of the Ruby gems you've installed via rpm (rpm -q -a | grep > ruby) and then consider inst

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread Russell Van Tassell
To be clear, the "Wrong Elf Class" error simply means that you are trying to mix 32 and 64 bit binaries... and the compiler isn't going to allow that... so, look at Ruby and MySQL -- at least one of them is different. You can look at the file type by using "file" and the filename. For example, fro

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread robert.morti...@gmail.com
On Oct 17, 9:26 pm, Russell Van Tassell wrote: > This looks like you have a 32-bit Ruby and are trying to link to the 64-bit > MySQL. > > On Mon, Oct 17, 2011 at 1:24 PM, robert.morti...@gmail.com < > installed yum list | grep ruby ruby.x86_64 1.8.7.299-5.el6_0.1 @updates > > > > > >

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread Russell Van Tassell
This looks like you have a 32-bit Ruby and are trying to link to the 64-bit MySQL. On Mon, Oct 17, 2011 at 1:24 PM, robert.morti...@gmail.com < robert.morti...@gmail.com> wrote: > > > On Oct 17, 9:05 pm, Todd Zullinger wrote: > > robert.morti...@gmail.com wrote: > > > I am having no joy install

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread robert.morti...@gmail.com
On Oct 17, 9:05 pm, Todd Zullinger wrote: > robert.morti...@gmail.com wrote: > > I am having no joy installing Puppet Server with MySQL support from > > the EPEL on Centos 6. The active record support for MySQL seems to be > > missing. Has anyone seen a good howto for this? > > Sadly, rubygem-ra

Re: [Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread Russell Van Tassell
Personally, I've had better luck letting gem managed its own gems, rather than depending on Yum repositories (specifically on CentOS). I'd take a list of the Ruby gems you've installed via rpm (rpm -q -a | grep ruby) and then consider installing them directly, as so: % sudo gem install mysql % su

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread robert.morti...@gmail.com
On Oct 17, 4:00 pm, "robert.morti...@gmail.com" wrote: > On Oct 17, 3:46 pm, Dominik Zyla wrote: > > > On 10/17/2011 04:14 PM, robert.morti...@gmail.com wrote: > > > > I am having no joy installing Puppet Server with MySQL support from > > > the EPEL on Centos 6. The active record support for M

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-17 Thread robert.morti...@gmail.com
On Oct 17, 3:46 pm, Dominik Zyla wrote: > On 10/17/2011 04:14 PM, robert.morti...@gmail.com wrote: > > > I am having no joy installing Puppet Server with MySQL support from > > the EPEL on Centos 6. The active record support for MySQL seems to be > > missing. Has anyone seen a good howto for thi