I have been trying to follow the bootstrap instructions for installing puppet-dashboard. I keep getting error about rubyge(rake) and rubygems. I''d appreciate any help or corrections, thanks in advance. ruby-libs-1.8.7.299-4.el6.x86_64 ruby-1.8.7.299-4.el6.x86_64 These are some installation steps I took. rvm tools rvm-env ruby bash rvm install 1.8.7 yum install ruby downloaded rubygems from: http://rubygems.org/pages/download gem install rubygems-update LD_LIBRARY_PATH=/usr/local/rvm/src/ruby-1.8.7-p357:$PATH export LD_LIBRARY_PATH gem install mysql-2.8.1.gem install rake: git clone git@github.com:gmoneyice/rake cd /root/ruby gem install rake Here is the error: yum install puppet-dashboard Loaded plugins: rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated --> Processing Dependency: ruby-mysql for package: puppet- dashboard-1.2.4-1.el6.noarch --> Processing Dependency: rubygem(rake) for package: puppet- dashboard-1.2.4-1.el6.noarch --> Processing Dependency: rubygems for package: puppet- dashboard-1.2.4-1.el6.noarch --> Running transaction check ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated --> Processing Dependency: rubygem(rake) for package: puppet- dashboard-1.2.4-1.el6.noarch --> Processing Dependency: rubygems for package: puppet- dashboard-1.2.4-1.el6.noarch ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated --> Finished Dependency Resolution Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- products) Requires: rubygem(rake) Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- products) Requires: rubygems You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Michael Stahnke
2012-Jan-27 00:12 UTC
Re: [Puppet Users] Issue Installing Puppet on Red Hat6
On Thu, Jan 26, 2012 at 3:33 PM, Gmoney <greg.caldwell7@gmail.com> wrote:> I have been trying to follow the bootstrap instructions for installing > puppet-dashboard. I keep getting error about rubyge(rake) and > rubygems. I''d appreciate any help or corrections, thanks in advance. > > ruby-libs-1.8.7.299-4.el6.x86_64 > ruby-1.8.7.299-4.el6.x86_64 > > These are some installation steps I took. > > rvm tools rvm-env ruby bash > rvm install 1.8.7 > > yum install ruby > > downloaded rubygems from: > http://rubygems.org/pages/download > > gem install rubygems-update > > LD_LIBRARY_PATH=/usr/local/rvm/src/ruby-1.8.7-p357:$PATH > export LD_LIBRARY_PATH > gem install mysql-2.8.1.gem > > > install rake: > git clone git@github.com:gmoneyice/rake > cd /root/ruby > gem install rake > > > > > Here is the error: > > yum install puppet-dashboard > Loaded plugins: rhnplugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > --> Processing Dependency: ruby-mysql for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygem(rake) for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygems for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Running transaction check > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > --> Processing Dependency: rubygem(rake) for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygems for package: puppet- > dashboard-1.2.4-1.el6.noarch > ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated > --> Finished Dependency Resolution > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > products) > Requires: rubygem(rake) > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > products) > Requires: rubygems > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigestYou''re mixing native packaging and ruby/source bits quite a bit. You''ll likely have better luck doing it all one way or the other. On EL6, I normally don''t use rvm. Just yum install puppet-dashboard (You might need EPEL setup as well for dependencies). If you''re using RHEL (actual RHEL), be sure you have the ''optional'' channels enabled, as those have rubygem-rake, and rubygems, I think. Mike> > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
You''re mixing downloads and system packages. rpm (thus yum) doesn''t recognize that you have rubygems and rake installed, because it only looks at the package database to determine that. Right now, you are missing a repo that contains those packages in your rh6 config, so yum can''t find and install them automatically. Best practice is to download everything, or use only system packages. Don''t try to do both. RHEL6 has an optional repo that likely contains these packages. Try enabling it. On Jan 26, 4:33 pm, Gmoney <greg.caldwe...@gmail.com> wrote:> I have been trying to follow the bootstrap instructions for installing > puppet-dashboard. I keep getting error about rubyge(rake) and > rubygems. I''d appreciate any help or corrections, thanks in advance. > > ruby-libs-1.8.7.299-4.el6.x86_64 > ruby-1.8.7.299-4.el6.x86_64 > > These are some installation steps I took. > > rvm tools rvm-env ruby bash > rvm install 1.8.7 > > yum install ruby > > downloaded rubygems from:http://rubygems.org/pages/download > > gem install rubygems-update > > LD_LIBRARY_PATH=/usr/local/rvm/src/ruby-1.8.7-p357:$PATH > export LD_LIBRARY_PATH > gem install mysql-2.8.1.gem > > install rake: > git clone g...@github.com:gmoneyice/rake > cd /root/ruby > gem install rake > > Here is the error: > > yum install puppet-dashboard > Loaded plugins: rhnplugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > --> Processing Dependency: ruby-mysql for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygem(rake) for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygems for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Running transaction check > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > --> Processing Dependency: rubygem(rake) for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygems for package: puppet- > dashboard-1.2.4-1.el6.noarch > ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated > --> Finished Dependency Resolution > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > products) > Requires: rubygem(rake) > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > products) > Requires: rubygems > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I use CentOS 6.2 with yum-priorities and several additional repositories. In general the following priority order works well: updates -> extras -> puppetlabs -> epel -> rpmforge Then, as said previously, just run yum -y install puppet-dashboard and continue following docs. That setup will allow you access to just about every package you would need without causing crazy dependency issues. -Ryan On Jan 26, 3:33 pm, Gmoney <greg.caldwe...@gmail.com> wrote:> I have been trying to follow the bootstrap instructions for installing > puppet-dashboard. I keep getting error about rubyge(rake) and > rubygems. I''d appreciate any help or corrections, thanks in advance. > > ruby-libs-1.8.7.299-4.el6.x86_64 > ruby-1.8.7.299-4.el6.x86_64 > > These are some installation steps I took. > > rvm tools rvm-env ruby bash > rvm install 1.8.7 > > yum install ruby > > downloaded rubygems from:http://rubygems.org/pages/download > > gem install rubygems-update > > LD_LIBRARY_PATH=/usr/local/rvm/src/ruby-1.8.7-p357:$PATH > export LD_LIBRARY_PATH > gem install mysql-2.8.1.gem > > install rake: > git clone g...@github.com:gmoneyice/rake > cd /root/ruby > gem install rake > > Here is the error: > > yum install puppet-dashboard > Loaded plugins: rhnplugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > --> Processing Dependency: ruby-mysql for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygem(rake) for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygems for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Running transaction check > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > --> Processing Dependency: rubygem(rake) for package: puppet- > dashboard-1.2.4-1.el6.noarch > --> Processing Dependency: rubygems for package: puppet- > dashboard-1.2.4-1.el6.noarch > ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated > --> Finished Dependency Resolution > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > products) > Requires: rubygem(rake) > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > products) > Requires: rubygems > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Tried all suggestions. The Red Hat Optional channel contains rubygems-1.37 ( not 1.8.7 ) , the ruby and ruby-libs are both 1,8.7, Guess I have to grab the source and build it myself, I can''t seem to find rubygems-1.8.7 anywhere. yum -y install puppet-dashboard Loaded plugins: rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package puppet-dashboard.noarch 0:1.2.5-1.el6 set to be updated --> Processing Dependency: ruby(abi) = 1.8 for package: puppet- dashboard-1.2.5-1.el6.noarch --> Processing Dependency: ruby > 1.8.7 for package: puppet- dashboard-1.2.5-1.el6.noarch --> Processing Dependency: ruby-mysql for package: puppet- dashboard-1.2.5-1.el6.noarch --> Processing Dependency: rubygem(rake) for package: puppet- dashboard-1.2.5-1.el6.noarch --> Processing Dependency: rubygems for package: puppet- dashboard-1.2.5-1.el6.noarch --> Processing Dependency: /usr/bin/ruby for package: puppet- dashboard-1.2.5-1.el6.noarch --> Running transaction check ---> Package puppet-dashboard.noarch 0:1.2.5-1.el6 set to be updated --> Processing Dependency: rubygem(rake) for package: puppet- dashboard-1.2.5-1.el6.noarch --> Processing Dependency: rubygems for package: puppet- dashboard-1.2.5-1.el6.noarch ---> Package ruby.x86_64 0:1.8.7.299-4.el6 set to be updated ---> Package ruby-libs.x86_64 0:1.8.7.299-4.el6 set to be updated ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated --> Finished Dependency Resolution Error: Package: puppet-dashboard-1.2.5-1.el6.noarch (puppetlabs- products) Requires: rubygems Error: Package: puppet-dashboard-1.2.5-1.el6.noarch (puppetlabs- products) Requires: rubygem(rake) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest On Jan 26, 10:09 pm, Ryan Bowlby <rbowlb...@gmail.com> wrote:> I use CentOS 6.2 with yum-priorities and several additional > repositories. In general the following priority order works well: > > updates -> extras -> puppetlabs -> epel -> rpmforge > > Then, as said previously, just run yum -y install puppet-dashboard and > continue following docs. That setup will allow you access to just > about every package you would need without causing crazy dependency > issues. > > -Ryan > > On Jan 26, 3:33 pm, Gmoney <greg.caldwe...@gmail.com> wrote: > > > I have been trying to follow the bootstrap instructions for installing > > puppet-dashboard. I keep getting error about rubyge(rake) and > > rubygems. I''d appreciate any help or corrections, thanks in advance. > > > ruby-libs-1.8.7.299-4.el6.x86_64 > > ruby-1.8.7.299-4.el6.x86_64 > > > These are some installation steps I took. > > > rvm tools rvm-env ruby bash > > rvm install 1.8.7 > > > yum install ruby > > > downloaded rubygems from:http://rubygems.org/pages/download > > > gem install rubygems-update > > > LD_LIBRARY_PATH=/usr/local/rvm/src/ruby-1.8.7-p357:$PATH > > export LD_LIBRARY_PATH > > gem install mysql-2.8.1.gem > > > install rake: > > git clone g...@github.com:gmoneyice/rake > > cd /root/ruby > > gem install rake > > > Here is the error: > > > yum install puppet-dashboard > > Loaded plugins: rhnplugin > > This system is not registered with RHN. > > RHN support will be disabled. > > Setting up Install Process > > Resolving Dependencies > > --> Running transaction check > > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > > --> Processing Dependency: ruby-mysql for package: puppet- > > dashboard-1.2.4-1.el6.noarch > > --> Processing Dependency: rubygem(rake) for package: puppet- > > dashboard-1.2.4-1.el6.noarch > > --> Processing Dependency: rubygems for package: puppet- > > dashboard-1.2.4-1.el6.noarch > > --> Running transaction check > > ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated > > --> Processing Dependency: rubygem(rake) for package: puppet- > > dashboard-1.2.4-1.el6.noarch > > --> Processing Dependency: rubygems for package: puppet- > > dashboard-1.2.4-1.el6.noarch > > ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated > > --> Finished Dependency Resolution > > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > > products) > > Requires: rubygem(rake) > > Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs- > > products) > > Requires: rubygems > > You could try using --skip-broken to work around the problem > > You could try running: rpm -Va --nofiles --nodigest-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Feb 10, 11:35 am, Gmoney <greg.caldwe...@gmail.com> wrote:> Tried all suggestions. The Red Hat Optional channel contains > rubygems-1.37 ( not 1.8.7 ) , the ruby and ruby-libs are both 1,8.7, > Guess I have to grab the source and build it myself, I can''t seem to > find rubygems-1.8.7 anywhere.Why do you assume that the version of the rubygems package available from one of RedHat''s official channels is inappropriate for your RedHat installation? There is no particular reason to expect that the version number of the rubygems package will be the same as the version number of the ruby package. If there were, you would expect the former to be a subpackage of the latter, in which case it would be named ruby-gems. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
rubygems-1.37 is correct for RHEL 6. rubygems is the "gem" program, ie package manager for ruby, it''s not a subset or Ruby. Do you have EPEL enabled ? You''ll need that to satisfy some gem dependencies. The package your missing is rubygem-rake. On Feb 10, 5:02 pm, jcbollinger <John.Bollin...@stJude.org> wrote:> On Feb 10, 11:35 am, Gmoney <greg.caldwe...@gmail.com> wrote: > > > Tried all suggestions. The Red Hat Optional channel contains > > rubygems-1.37 ( not 1.8.7 ) , the ruby and ruby-libs are both 1,8.7, > > Guess I have to grab the source and build it myself, I can''t seem to > > find rubygems-1.8.7 anywhere. > > Why do you assume that the version of the rubygems package available > from one of RedHat''s official channels is inappropriate for your > RedHat installation? There is no particular reason to expect that the > version number of the rubygems package will be the same as the version > number of the ruby package. If there were, you would expect the > former to be a subpackage of the latter, in which case it would be > named ruby-gems. > > John-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.