Foreman install / config with Puppet Enterprise

Hi,

I'm attempting to install Foreman with Puppet Enterprise, and have
followed the instructions here:

http://theforeman.org/projects/foreman/wiki/Troubleshooting#I-use-puppet-enterprise-what-now

However, after installing the pe-ruby-devel package included in PE,
and updating my path to use
the PE version of ruby, installing the rest-client gem succeeds, but
gem install json fails with:

Building native extensions. This could take a while…


ERROR: Error installing json:
ERROR: Failed to build gem native extension.

/opt/puppet/bin/ruby extconf.rb
checking for re.h… no
checking for ruby/st.h… no
creating Makefile

make
/opt/puppet/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:26:in
`exec': No such file or directory - make (Errno::ENOENT)

I'm not very familiar with ruby and gems (or Puppet and Foreman for
that matter, our Sr. admin accepted another position, so I'm
attempting to pick this up), any assistance is appreciated.

> Hi,
>
> I'm attempting to install Foreman with Puppet Enterprise, and have
> followed the instructions here:
>
> Troubleshooting - Foreman
>
> However, after installing the pe-ruby-devel package included in PE,
> and updating my path to use
> the PE version of ruby, installing the rest-client gem succeeds, but
> gem install json fails with:
>
> Building native extensions. This could take a while…
>
> …
> ERROR: Error installing json:
> ERROR: Failed to build gem native extension.
>
> /opt/puppet/bin/ruby extconf.rb
> checking for re.h… no
> checking for ruby/st.h… no
> creating Makefile
>
> make
> /opt/puppet/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:26:in
> `exec': No such file or directory - make (Errno::ENOENT)

it looks like you are missing the make command.

Ohad

··· On Mon, Oct 3, 2011 at 8:06 PM, droog72 wrote: > > > > I'm not very familiar with ruby and gems (or Puppet and Foreman for > that matter, our Sr. admin accepted another position, so I'm > attempting to pick this up), any assistance is appreciated. > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en. > >

make sure make and gcc are installed.

Corey

··· On Oct 3, 12:24 pm, Ohad Levy wrote: > On Mon, Oct 3, 2011 at 8:06 PM, droog72 wrote: > > Hi, > > > I'm attempting to install Foreman with Puppet Enterprise, and have > > followed the instructions here: > > >http://theforeman.org/projects/foreman/wiki/Troubleshooting#I-use-pup... > > > However, after installing the pe-ruby-devel package included in PE, > > and updating my path to use > > the PE version of ruby, installing the rest-client gem succeeds, but > > gem install json fails with: > > > Building native extensions. This could take a while... > > > ............... > > ERROR: Error installing json: > > ERROR: Failed to build gem native extension. > > > /opt/puppet/bin/ruby extconf.rb > > checking for re.h... no > > checking for ruby/st.h... no > > creating Makefile > > > make > > /opt/puppet/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:26:in > > `exec': No such file or directory - make (Errno::ENOENT) > > it looks like you are missing the make command. > > Ohad > > > > > > > > > > > I'm not very familiar with ruby and gems (or Puppet and Foreman for > > that matter, our Sr. admin accepted another position, so I'm > > attempting to pick this up), any assistance is appreciated. > > > -- > > You received this message because you are subscribed to the Google Groups "Foreman users" group. > > To post to this group, send email to foreman-users@googlegroups.com. > > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.

Thank you, I was able to get everything up and running after Ohad's mail.
Apologies for not
replying sooner, and thank you both!

··· On Tue, Oct 11, 2011 at 9:18 PM, Corey Osman wrote:

make sure make and gcc are installed.

Corey
On Oct 3, 12:24 pm, Ohad Levy ohadl...@gmail.com wrote:

On Mon, Oct 3, 2011 at 8:06 PM, droog72 droo...@gmail.com wrote:

Hi,

I’m attempting to install Foreman with Puppet Enterprise, and have
followed the instructions here:

Troubleshooting - Foreman.

However, after installing the pe-ruby-devel package included in PE,
and updating my path to use
the PE version of ruby, installing the rest-client gem succeeds, but
gem install json fails with:

Building native extensions. This could take a while…


ERROR: Error installing json:
ERROR: Failed to build gem native extension.

/opt/puppet/bin/ruby extconf.rb
checking for re.h… no
checking for ruby/st.h… no
creating Makefile

make
/opt/puppet/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:26:in
`exec’: No such file or directory - make (Errno::ENOENT)

it looks like you are missing the make command.

Ohad

I’m not very familiar with ruby and gems (or Puppet and Foreman for
that matter, our Sr. admin accepted another position, so I’m
attempting to pick this up), any assistance is appreciated.


You received this message because you are subscribed to the Google
Groups “Foreman users” group.

To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.

For more options, visit this group athttp://
groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.